Client: OS Ubuntu, git-version 2.7.4.
Server: OS Centos , git-version 2.7.4.
I have a private ssh key in my client and public key in server.
I can us
My 2 cents: on server side, disable GSSAPIAuthentication
(i.e. SSO backed by Kerberos) unless you are using Active Directory authentication on Linux (with either Centrify or SSSD) inside a corporate firewall.
If you are indeed in a SSO scenario, but Single Sign-On does not work out of the box for some reason, then use client-side options to bypass Kerberos e.g.
ssh -o GSSAPIAuthentication=no -o GSSAPIKeyExchange=no