Thursday, April 21, 2011

Enable root session in SSH on Solaris 10.

Normally Solaris 10 has already installed ssh. but It doesn't allow root to login.
So we have to modify sshd_config within /etc/ssh/sshd_config
Using vi we'll have
#vi /etc/ssh/sshd_config
Look for PermitRootLogin and replace with yes

Then restart the service with
#svcadm restart svc:/network/ssh:default
That's all

No comments:

Post a Comment