On Friday 07 Nov 2003 23:56, Jayson Garrell wrote: > On Fri, 2003-11-07 at 15:47, Andrew Gaffney wrote: > > I've seen a thread or 2 here before about this, but I can't seem to > > find them. I use ssh to login to a few different hosts on a regular > > basis. I want to set it up so I don't have to enter my password. > > How do I do this? > > On each host, as what ever user you are going to be using, do the > following. > > 1) ssh-keygen -t rsa > (hit enter when asked for a password) > > Now add the content of your ~/.ssh/id_rsa file to the > ~/.ssh/authorized_keys file on each host you are logging into. If the > authorized_keys file is not there create it. > > Now when you go to logon to those hosts you will not be asked for a > password. > That works here for all users except root. root is always prompted for password.
Peter -- ====================================================================== Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23_pre8-gss) i686 AMD Athlon(tm) XP 3200+ ====================================================================== -- [EMAIL PROTECTED] mailing list
