SOLVED: Re: rsync from Ubuntu to Ubuntu as root, possible?

Anders Westrup anders at barbanet.com
Mon Jul 16 14:08:47 UTC 2007


On Sat, Jul 14, 2007 at 10:07:47PM +0700, Fajar Priyanto wrote:
> Hello,
> Thank you for all the responses. I guess debian developers have prepared for 
> this need. The solution is to use key-based authentication for ssh. That 
> simple. Cool!
> 
> Additional info:
> Ssh-ing as root is permitted in Ubuntu. It is enabled by default 
> in: /etc/ssh/sshd_config: PermitRootLogin yes

If you use key-based authentication you don't need to set
PermitRootLogin to yes - change sshd_config to:

PermitRootLogin without-password

This option disables password authentication so only key-based
authentication is allowed (see 'man sshd_config')

-- 
Anders Westrup <anders at barbanet.com>




More information about the ubuntu-users mailing list