Total Pageviews

Sunday, June 5, 2011

Cannot login as root in FreeBSD

In FreeBSD servers direct ssh root login is disabled by default settings. You need to enable the root access manually by doing the following.

# vi /etc/ssh/sshd_config

Find out the following parameter :
PermitRootLogin no

Change it to :
PermitRootLogin yes

After you do the changes, save and exit. Then restart sshd.

# /etc/rc.d/sshd restart


#!/Sanil

No comments:

Post a Comment