vishwakarmak
asked on
refresh ssh services on Solaris
How do I refresh ssh services on Solaris, Like start and stop.
to check service status, use
svcs ssh
to stop, use
svcadm disable ssh
to start. use
svcadm enable ssh
svcs ssh
to stop, use
svcadm disable ssh
to start. use
svcadm enable ssh
And to have sshd re-read the configuration file, you can use the restart option:
svcadm restart ssh
svcadm restart ssh
ASKER
I have solaris 8 and solaris 9 running and I think svcadm is not supported
use
ps -ef
to get pid of sshd and then run
kill -1 pid
to start it
/usr/local/sbin/sshd
ps -ef
to get pid of sshd and then run
kill -1 pid
to start it
/usr/local/sbin/sshd
ASKER
Is this the only way is there any command to do this operation
which sshd do you run on your system?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
svcadm ssh restart