Mailinglist Archive: opensuse (1461 mails)
| < Previous | Next > |
Re: [opensuse] Problem getting ssh to use PublicKeyAuthentication :-(
- From: Ritchie Fraser <ritchie@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 May 2009 17:38:12 +0100
- Message-id: <200905101738.12666.ritchie@xxxxxxxxxxxxxxxxxxxx>
On Sunday 10 May 2009 14:35:48 Lars Müller wrote:
/root/.ssh/authorized_keys
.ssh directory and authorized_keys are owned by root.
ritchie@laptop:~/.ssh> ssh root@desktop
Last login: Sun May 10 16:32:08 2009 from laptop
Have a lot of fun...
desktop:~ #
That worked !
Now to find out why it works for root and not for ritchie.
--
Kind Regards,
Ritchie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ritchie Fraser
Web: http://www.rpfraser.uklinux.net
Registered Linux User #255860
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
OK. Copied [laptop] /home/ritchie/.ssh/id_rsa.pub into [desktop]
Try to turn a light on. ;)
Have you placed the file at the desination host?
Does it work on you local system? Please try to copy .ssh/id_rsa.pub
the user in question to /root/.ssh/authorized_keys
/root/.ssh/authorized_keys
Ensure /root/.ssh and /root/.ssh/authorized_keys are ownd by the root
user. But you would see this immediately at the syslog.
.ssh directory and authorized_keys are owned by root.
ritchie@laptop:~/.ssh> ssh root@desktop
Last login: Sun May 10 16:32:08 2009 from laptop
Have a lot of fun...
desktop:~ #
That worked !
Now to find out why it works for root and not for ritchie.
Lars
--
Kind Regards,
Ritchie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ritchie Fraser
Web: http://www.rpfraser.uklinux.net
Registered Linux User #255860
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |