disallow remote root / allow remote root by key

Yuri Pankov yuri.pankov at gmail.com
Fri May 30 10:03:36 UTC 2008


Zbigniew Szalbot wrote:
> Hello,
> 
> I wonder if it is possible and if so how to go about the following.
> 
> Server - Remote root login is disallowed but I need to fetch snaphosts 
> produced by rsnapshot and for this I need remote root access.
> Backup machine on a dynamic IP - connects to server using key-based 

As user, I guess?

> authentication. Can this machine (and only this machine) log in remotely 

Check sshd_config(5) for PermitRootLogin "without-password" keyword (I 
hope I understood you correctly).

> as root?
> 
> Is there a better way of handling this?
> 
> Thanks!
> 


HTH,
Yuri


More information about the freebsd-questions mailing list