ssh and rsync without password

Michael K. Smith mksmith at
Wed Mar 26 20:08:48 PST 2003


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
3) Copy the 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 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.


Michael K. Smith         NoaNet
206.219.7116 (work)      206.579.8360 (cell)
mksmith at

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

More information about the freebsd-questions mailing list