Ssh in Solaris
This post is about service ssh in solaris 9 or 10
Solaris 9Disable service ssh ?
bash> /etc/init.d/sshd stop bash> /etc/rc3.d/S89sshd stop
bash> /etc/init.d/sshd start bash> /etc/rc3.d/S89sshd start
bash> kill -HUP `cat /var/run/sshd.pid`
First you can check service ssh with command
bash> svcs | grep ssh online Jan_21 svc:/network/ssh:default
bash> svcadm enable -t network/ssh:default bash> /lib/svc/method/sshd start
bash> svcadm disable -t network/ssh:default
bash> svcadm restart network/ssh:default bash> /lib/svc/method/sshd restart
bash> svcadm refresh network/ssh:default
bash> vi /etc/ssh/sshd_config
[....] # Valid options are yes, without-password, no. PermitRootLogin no [....]
Don't forget for the restart service ssh, after edit configuration.
This entry was posted on 28/01/2008 (Monday) at 11:42 am and is filed under Solaris. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
0 ความคิดเห็น:
แสดงความคิดเห็น