Mailinglist Archive: opensuse (2441 mails)

< Previous Next >
Re: [SLE] ssh keygen
  • From: Hamish <lists@xxxxxxxxxxx>
  • Date: Fri, 17 Jun 2005 15:21:48 +0100
  • Message-id: <200506171522.05332.lists@xxxxxxxxxxx>
On Friday 17 June 2005 06:54, Chadley Wilson wrote:
> on the server I run
> ssh-keygen -t rsa or dsa
>
> I copy id_rsa.pub into authorised keys on my workstation.
> The I try log in and it still asks for the password.

So you are using the server to try and log in to your workstation?
I think maybe you have it the wrong way round...

a)generate the key on your workstation
b)copy the public key to the server,
in /home/useryouloginasontheserver/.ssh/authorized_keys
c)unlock the private key on your workstation
d)log in to the server

Hope that helps,
H
< Previous Next >
References