[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh w/o password?



On Sat, 20 Nov 2004 11:20:55 -0500, Marc Shapiro <mshapiro_42@yahoo.com> wrote:

> It seems to me that I need to set up personal keys and this is what I am
> lacking, but I have not determined how to do so.  The host keys were
> created at setup, but I have no clue how to create personal keys.  How
> do I create these keys.

take a look at the program ssh-keygen. This can be used to generate
keys. Note that I recommend you password-protect the generated keys.
Then, ssh-agent can be used to load the keys into memory, meaning you
type a passphrase once per session, rather than once per shell.

To get a public key onto a remote computer in one line, do

cat .ssh/id_rsa.pub | ssh remote-host 'cat ->>.ssh/authorized_keys'

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: