- Login to the Solaris Server via console as root user.
- Modify the /etc/ssh/sshd_config . Look for the PermitRootLogin entry in the file and change it from no to yes .
PermitRootLogin yes
- Finally refresh the ssh service so that it re-read the configuration changes you made to sshd_config. For Solaris 10 you can refresh ssh service using svcadm.
svcadm refresh svc:/network/ssh:default
- For Solaris 7,8 & 9 you can restart ssh service as below.
/etc/init.d/sshd restart