Try
ssh -T git@github.com
to test the SSH connection.
ssh -T git@github.com
to test the SSH connection.