Enabling root remote ssh login on Freebsd

Posted by
Using username "root".
Access denied
Using keyboard-interactive authentication.
Password for root@Freebsd10:
Access denied

nano /etc/ssh/sshd_config

find the "#PermitRootLogin no" line or you can use ctrl + w and enter the line then remove # and change no to yes

then ctrl+o and ctrl+x to exit

restart sshd deamon by entering "/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.




Leave a Reply

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