On Sun, Jan 19, 2003 at 04:34:44PM +0100, Jean-Marc V. Liotier wrote:
> 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_keys2
> chmod 640 authorized_keys2
> rm -f id_dsa.pub

Fine, although you can just use ssh-copy-id.

> Works great between various hosts where I have the same username. But
> when I want to connect to a host where my username is different (ssh -l
> differentusername other.remote.end.net) I am still asked for a password.

Please show the output of 'ssh -vvv -l differentusername
other.remote.end.net'. It works for me ...

Cheers,

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to