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

Re: ssh into a webserver on a shared host



On Thu, May 29, 2003 at 07:58:37AM +0200, Nico Meijer wrote:
> Create a pair of keys (ssh-keygen -t dsa) without passphrase, copy that
> to the host in question with scp (scp .ssh/id_dsa.pub
> remoteuser@remotehost:.ssh/lusername), ssh into the host and append the
> key (in file .ssh/lusername) to .ssh/authorized_keys2.

authorized_keys2 is obsolete; you should really just use
authorized_keys. ssh-copy-id will do everything apart from the key
generation for you.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: