ssh only with password

Martin Imhäuser
Thu, 18 Mar 2004 14:36:40 -0000

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