When I was testing my new FreeBSD 10 RC, I was not able to connect from remote machine using root user. So I decided to make a tutorial about this, may be it will help some people who is having the same problem.
Using username "root". Access denied Using keyboard-interactive authentication. Password for [email protected]: Access denied
How to enable root login on FreeBSD 10 ?
Find this line:
and change it to:
Now Restart sshd
[email protected]:~ # /etc/rc.d/sshd restart Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1698. Performing sanity check on sshd configuration. Starting sshd.
Now you are Ready :
Using username "root". Last login: Fri Dec 13 15:15:40 2013 FreeBSD 10.0-RC1 (GENERIC) #0 r259068: Sat Dec 7 21:12:15 UTC 2013 Welcome to FreeBSD! FreeBSD Welcome to Unixmen Test Machin [email protected]:~ #