Skip to content

Instantly share code, notes, and snippets.

@gerhard
Created June 20, 2012 10:37
Show Gist options
  • Save gerhard/2959288 to your computer and use it in GitHub Desktop.
Save gerhard/2959288 to your computer and use it in GitHub Desktop.
git ssh authentication fails even if ssh key is present
Calista ➜ dashboard git:(master) ssh dashboard@nodejs-3 "cd app && git submodule update"
Initialized empty Git repository in /home/dashboard/app/assets/_lib/d3/.git/
Host key verification failed.
fatal: The remote end hung up unexpectedly
Clone of '[email protected]:gosquared/d3' into submodule path 'assets/_lib/d3' failed
Calista ➜ dashboard git:(master) ssh dashboard@nodejs-3 "ssh-keygen -F github.com -f ~/.ssh/known-hosts | head -1"
# Host github.com found: line 1 type RSA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment