SSH key authentication

Vitaliy Ivanov vitaliy at psoft.net
Sat Sep 10 16:01:05 UTC 2005


On Friday 09 September 2005 12:30, Shu Hung (Koala) wrote:
> Dear all,
>
> I need to make a sshd2 linux server accessible for a ssh1 linux client
> machine.
> And I need to use key authentication in this access.
>
> What should I do?
> Where should I put the identity (private key) on the client?
> Where should I put the public key on the server?
>
> Please help!
> Thanks a lot!!!
>
> Koala Yeung

Both servers run openssh 4.1p1(that comes with FC4).

my steps:

Client ssh box: 
$ ssh-keygen -t rsa1
It will generate identity.pub and identity.

Server ssh box: 
Put the content of the identity.pub to authorized_keys (add it to the end of 
this file) that can be found in the user's dir you want to login under, e.g. 
for root it should be /root/.ssh/authorized_keys

That's all.

After this I could connect to the server ssh box under root w/ no passwd (I 
entered passphrase empty) using ssh1 protocol:

[vitaliy  06:51:48 PM]$ ssh -1 root at X.X.X.X
Last login: Sat Sep 10 22:25:33 2005 from Y.Y.Y.Y
[root at blabla ~]#

But again it's for openssh that support both ssh1/2. 
What software do you run on your boxes?

Maybe it's actual to use ssh2 as ssh1 is not secure.

Best regards.




More information about the fedora-list mailing list