Friday, August 22, 2014

Enable Root Login Over SSH in FreeBSD 10.0

By default, we cannot login to FreeBSD over ssh. So, we must enable it from openSSH configuration.

Open /etc/ssh/sshd_config with your 'ee' text editor
ee /etc/ssh/sshd_config
Find this
#PermitRootLogin no
Change to
PermitRootLogin yes
Press escape, and then choose yes for save confirmation.

Finally, restart your ssh daemon
 service sshd restart
 ...and done. You can login with root remotely over ssh.

Source:
http://blog.bobbyallen.me/2011/07/22/how-to-enable-root-login-over-ssh-on-freebsd-8-2/

0 comments:

Post a Comment