scp no password copy as root
Vram
lamsokvr at xprt.net
Wed Nov 9 04:03:51 UTC 2005
On Wed, 2005-11-09 at 14:46 +1100, Steven Heimann wrote:
> I am trying to perform a passwordless scp from one computer to my
> desktop which is running Ubuntu 5.10.
>
> I have performed the usual key generation and copied it to my desktop.
> I am sure the keys were generated without a password. The system works
> fine as an ordinary user but I can't get it to work as root.
>
> I have tried :
>
> 1. creating a root password on the desktop. I can perform the copy once
> the password is supplied even thogh there is definitely a passwordless
> entry authorized_keys.
>
> 2. changing PermitRootLogin from yes to without-password. This results
> in the password still being asked for but not accepted.
>
> 3. putting a copy of authosized_keys in authorized_keys2
>
> 4. making a copy in /home/root/.ssh (just in case it might work)
>
> What could be stopping me doing the root copy? ( I need to do it as
> root as this is backing up a database server with files owned by a
> number of different users and some files are read only)
>
> Thank you
> Steven
>
>
What does /etc/ssh/sshd_config say??
Vram
More information about the ubuntu-users
mailing list