HostOnNet Blog

FreeBSD Allow Root Login

FreeBSD won’t allow you to login as root through SSH.

This is for security, but i don’t like extra work of login as user and then “su -” to root. So i added

PermitRootLogin yes

to end of /etc/ssh/sshd_config

I still use vi text editor on FreeBSD, its little different than that available in Linux. Few changes are delete key, Home , End keys are not working.

Then restart sshd

/etc/rc.d/sshd restart

Posted in Uncategorized. Bookmark the permalink.