How to setup passwordless SSH access for root user

Posted by Cerin on Ask Ubuntu See other posts from Ask Ubuntu or by Cerin
Published on 2012-03-22T17:01:13Z Indexed on 2012/03/22 17:42 UTC
Read the original article Hit count: 283

Filed under:

I need to configure a machine so software installation can be automated remotely via SSH. Following the wiki, I was able to setup SSH keys so my user can access the machine without a password, but I still need to manually enter my password when I use sudo, which obviously an automated process shouldn't have to do.

Although my /etc/ssh/sshd_config has PermitRootLogin yes, I can't seem to be able to login as root, presumably because it's not a "real" account with a separate password.

How do I configure SSH keys, so a process can remotely login as root on Ubuntu?

© Ask Ubuntu or respective owner

Related posts about ssh