On Wednesday 15 June 2005 11:22 am, Hamish wrote:
On Wednesday 15 June 2005 16:15, Bruce Marshall wrote:
Maybe this is a better method:
Once you have a key generated:
ssh-copy-id -i <keyname.pub> user@machinename
Once you do the above, you can login to <machinename> as <user> without needing the password.
This is *exactly* what i am tryng to do. The thing about this is, that you need to type a passphrase to unlock the key every time you connect, so it is not very useful. With ssh agent, it "remembers" your key passphrase, so you dont have to type it in every time. Thanks, H
Not in my case.... I hit enter for the passphrase when I make the key. Maybe that's your problem. I never, ever have been asked for the passphrase. (Please reply only to the list)
On Wednesday 15 June 2005 16:45, Bruce Marshall wrote: <SNIP>
Not in my case.... I hit enter for the passphrase when I make the key. Maybe that's your problem. I never, ever have been asked for the passphrase.
(Please reply only to the list) You did not set a passphrase for your key, which means that anyone who gets a copy of that key file now automatically has access to all the servers you login to (break one, break all). Maybe you have impenetrable security on the box you ssh from, I dont believe I do, so I set passphrases on my keys. Cheers, H
participants (2)
-
Bruce Marshall
-
Hamish