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

Re: SSH Privat key and login as root without a passwort

On January 18, 2004 10:45 am, ournewsletter wrote:

> put it in /root/.ssh/authorized_keys. I don't know if it works with the key
> produced by Putty, but with a "ssh-keygen"-generated public key it does. If
> you need more public keys to log in, simply name the key
> files /root/.ssh/authorized_keys2, /root/.ssh/authorized_keys3 ...

Putty keys do works with openssh but you must edit them first.  Putty keys 
look rather like the ascii export of a gpg key, you must edit them so that 
they look like this:

ssh-rsa 89yh23wrnhjfdg... #all one line

Fraser Campbell <fraser@wehave.net>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux

Reply to: