disallow remote root / allow remote root by key
Mike Clarke
jmc-freebsd at milibyte.co.uk
Fri May 30 09:55:35 UTC 2008
On Friday 30 May 2008, Zbigniew Szalbot wrote:
> 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 authentication. Can this machine (and only this machine)
> log in remotely as root?
Yes, on the remote server set PermitRootLogin to "without-password"
instead of "no" in /etc/ssh/sshd_config and append your your public key
from the remote machine into /root/.ssh/authorized_keys.
--
Mike Clarke
More information about the freebsd-questions
mailing list