Re: Passwordless SSH still asks for password when remote usernamediffers

2003-01-19 Thread Jean-Marc V. Liotier
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

Re: Passwordless SSH still asks for password when remote usernamediffers

2003-01-19 Thread Jean-Marc V. Liotier
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

Re: Passwordless SSH still asks for password when remote usernamediffers

2003-01-19 Thread Jean-Marc V. Liotier
On Sun, 2003-01-19 at 16:54, Colin Watson wrote: > On Sun, Jan 19, 2003 at 04:34:44PM +0100, Jean-Marc V. Liotier wrote: > > Please show the output of 'ssh -vvv -l differentusername > other.remote.end.net'. It works for me ... Actually, only one remote host exhibits the behavior. Other hosts work

Passwordless SSH still asks for password when remote usernamediffers

2003-01-19 Thread Jean-Marc V. Liotier
Here is what I did : # 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 remote.end.net:~/.ssh # Repeat last command for all remote ends # Remote ends cd ~/.ssh touch authorized_keys2 cat id_dsa.pub >> authorized_keys