Hello:

You should be appending your keys to ~/.ssh/authorized_keys.  The steps in
your previous message were correct.  To reiterate.

1) Generate your keys on your local machine:
        - ssh-keygen -t rsa
2) When prompted for a password, do not enter one.  This will generate a
password-less key called id_rsa, and a public key id_rsa.pub
3) Copy the id_rsa.pub key over to the machine you want to ssh to.  NOTE:
change the filename first or you may overwrite your existing RSA key for
your remote host.  Like this:
        - local: cp id_rsa.pub local.key
        - scp local.key remote:
        - cat local.key >> .ssh/authorized_keys

At this point, your remote machine should accept a passwordless login from
that "local" machine.

Mike

Michael K. Smith         NoaNet
206.219.7116 (work)      206.579.8360 (cell)
[EMAIL PROTECTED]       http://www.noanet.net



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Kung Foo Ham[p]?ster
> Sent: Wednesday, March 26, 2003 12:04 PM
> To: adrian kok
> Cc: [EMAIL PROTECTED]
> Subject: Re: ssh and rsync without password
> 
> 
> authorized_keys [or authorized_keys2(depricated)]
> 
> not authorized-keys _______________________________________________
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
> 
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to