sshd_config

edit the file inside /etc/sshd/sshd_config using your favorite editor.

sshd_config

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6

to

# Authentication:

#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

now save the file sshd_config and reload ssh service.

root@bsd# /etc/rc.d/sshd reload
Reloading sshd config files.