Skip to content

Instantly share code, notes, and snippets.

@frozenfoxx
Created March 11, 2014 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frozenfoxx/9495071 to your computer and use it in GitHub Desktop.
Save frozenfoxx/9495071 to your computer and use it in GitHub Desktop.
foxx@slave04:~/puppet$ cat ~/.ssh/config
Host github.com
User frozenfoxx
HostName github.com
PreferredAuthentications publickey
IdentityFile /home/foxx/.ssh/id_frozenfoxx_github
Host repo.mycompany.local
User git
HostName repo.mycompany.local
PreferredAuthentications publickey
IdentityFile /home/foxx/.ssh/id_foxx_mycompany
foxx@slave04:~/puppet$ ssh root@repo.mycompany.local
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
foxx@slave04:~/puppet$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment