Notes on Java, Solaris, PHP, LDAP…

June 20, 2008

Private/public SSH keys between different logins (usernames)

Filed under: Java — negev @ 5:40 pm
Tags:

Today I’ve set up a private and public SSH key on one server, and I copied the public key to our CVS server. However, my login names were different on those machines, and the keys didn’t help.

Then my colleague advised to create a file under ~/.ssh called config, with an entry like this:
Host happycvs.happycompany.com
User peterk

And suddenly SSH connected fine!

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.