Thursday, February 22, 2007

ssh - with no password

The technical terminology sees to be "public key authentication".
ssh - with no password requires the file ~/.ssh/authorized_keys contain the public key of the client stored in the ssh server.

~/.ssh/id_dsa.pub - contains the public key of the client

$ chmod go-w $HOME $HOME/.ssh
$ chmod 600 $HOME/.ssh/authorized_keys

Blog Archive