I have tried to figure this out after looong time not having to do this:
http://en.opensuse.org/Public_Key_Authentication
Quote:
Preparing the server
1. Log in to the remote server using the normal ssh password
authentication.
2. Make sure the ~/.ssh directory exists.
3. Make sure permissions on the ~/.ssh directory are 700.
4. Now from the client machine copy the .pub key you generated to ~/.ssh
on the server. You can do this with this command from the client
machine:
cat ~/.ssh/id_rsa.pub | ssh user_name_here@server_here "cat - >>
~/.ssh/authorized_keys"
End of quote
Now what is that last thing there (4)?
Do I remember this right: On the client side one generates
/home/username/.ssh/id_rsa.pub
Then on the server side there should be
/home/username/.ssh/authorized_keys
and the client's id_rsa.pub needs to be appended to that file?
This can be also all wrong.
Vahis
--
"Sunrise 4:52am (EEST), sunset 9:59pm (EEST) at Espoo, Finland (17:06 hours daylight)"
http://waxborg.servepics.com
Linux 2.6.25.20-0.4-default #1 SMP 2009-06-01 09:57:12 +0200 x86_64
7:34pm up 44 days 4:08, 14 users, load average: 0.02, 0.11, 0.13