HostOnNet Blog

FreeBSD Allow Root Login

Looking for Linux Server Admin or WordPress Expert? We can help.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.