Erez D wrote:
#generate keys:
ssh-keygen -t dsa
#copy to destenation
scp .ssh/id_dsa.pub <target_machin>:/<path to home>/.ssh/authorized_keys2
#(actually you should append to destenation instead of copying to it)

And make sure 'authorized_keys2 ' is NOT readable or writable by anyone except the user you're connecting as.
[EMAIL PROTECTED] ~]$ ll .ssh/authorized_keys
-rw-r-----  1 mike mike 3424 Aug  6  2007 .ssh/authorized_keys

erez.


--
Micha Silver
Arava Development Co, Sapir, Israel
tel: +972(8)6592270
cell: +972(52)3665918


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to