On Jan 31, 2008 7:58 PM, Greg Priest-Dorman <[EMAIL PROTECTED]> wrote: > I think you have it backwards in your head, but we can get it all > worked out. > > In order to get into a remote box without giving a password you need > to have your ssh (or scp ) process use the private key and the public > key must be in the $USER/.ssh/authorized_keys file on the remote box. > > If you look at the man page for ssh you will see how to tell it to use > the private key your uncle sent you. > > If you give ssh a "-v" you can watch what it does as it tries to > connect. > > Hope this helps, > -Greg > > -- > > Greg Priest-Dorman > [EMAIL PROTECTED]
Ah, okay. So there's no way to get around having to manually point out the location of the private key when I'm making the ssh connection? Basically, rather than typing: ssh -i ~/.keys/theprivatekey [EMAIL PROTECTED] I want to be able to just type: ssh [EMAIL PROTECTED] and have it figure out which key to use. This is mainly because I go into his machine regularly and would like to reduce the amount of typing required to make the connection. -- John D. Mort http://john.mort.net _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Feb 6 - DBUS Mar 5 - Setting up a platform-independent home/small office network using Linux
