On 19:07 03 Feb 2002, David Talkington <[EMAIL PROTECTED]> wrote:
| The man pages for ssh-keygen and ssh, respectively, will explain how
| to create a key for root and where to place it on the target to get
| the result you want.  Synopsis: 
| 
| # ssh-keygen -t dsa     # formerly ssh-keygen -d
| 
| Accept default save location, no password.  Copy the resulting 
| id_dsa.pub to target machine.  Then do on the target:
| 
| # cat id_dsa.pub >> /root/.ssh/authorized_keys2
| 
| Double check that the .ssh directories are readable only by root.

And for gods' sake, SET THE COMMAND= PARAMETER in the authorized_keys2 file!

Otherwise your key can be abused very readily.

Keys without passphrases should be used with extreme care.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Man invented language to satisfy his deep need to complain.     - Lily Tomlin



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to