ssh only with password

Martin Imhäuser imhaeuse at physik.uni-wuppertal.de
Fri Mar 19 01:36:40 EST 2004


Hello,

I must relogin on the same machine in my shell with ssh and without password.
For this I tried the procedure
ssh-keygen -t dsa and ssh-keygen -t rsa.
I copied the entries in /.ssh/id_dsa.pub and /.ssh/id_rsa.pub in 
/.ssh/authorized_keys

When I open a shell I type exec ssh-agent $SHELL and then ssh-add and give my 
passphrases.
When I now type ssh machinename my PC wants my password.

I am running Redhat 7.3.3 and, sorry, I am a beginner using Linux.

Thank you in advance, Martin




More information about the openssh-unix-dev mailing list