How to configure ssh in both Solaris and Linux
For Solaris
#vi /etc/ssh/sshd_config
Go down & change Permitrootlogin from "NO" to "YES"
then start ssh service
#svcadm restart ssh
For Linux
# vi /etc/ssh/sshd_config
Go down and check the information is same as below line.
PermitRootLogin yes
#vi /etc/ssh/sshd_config
Go down & change Permitrootlogin from "NO" to "YES"
then start ssh service
#svcadm restart ssh
For Linux
# vi /etc/ssh/sshd_config
Go down and check the information is same as below line.
PermitRootLogin yes
And then save the file.
Then restart the service.
#systemctl restart sshd
Comments
Post a Comment