On Sun, 2003-01-19 at 18:04, Jean-Marc V. Liotier wrote: > On Sun, 2003-01-19 at 18:02, Christian Jaeger wrote: > > Make sure that the user's home dir on the remote host is not group > > writeable (and the .ssh subdir as well). sshd does some checks before > > using some files. > > Yes, that was it. 'chmod 700 ~/.ssh' on the remote host solved the > problem. Thanks to you and to Colin for your help ! While I'm at it, here is my revised recipe fort passwordless SSH. Next step : use ssh-agent... But that is going to be another story. For now : # Local end : cd ~/.ssh # Enter an empty password when prompted by the following command ssh-keygen -t dsa -f id_dsa scp id_dsa.pub user@remote.end.net:~/.ssh # Repeat last command for all remote ends # Remote end test -d .ssh || mkdir .ssh chmod 700 ~/.ssh cd ~/.ssh touch authorized_keys2 cat id_dsa.pub >> authorized_keys2 chmod 640 authorized_keys2 rm -f id_dsa.pub # Local end : ssh -l user remote.end.net # Look ma, no password !
Attachment:
signature.asc
Description: This is a digitally signed message part