Link to home
Start Free TrialLog in
Avatar of vishwakarmak
vishwakarmakFlag for United States of America

asked on

refresh ssh services on Solaris

How do I refresh ssh services on Solaris, Like start and stop.
Avatar of awa2008
awa2008

For Solaris 10

svcadm ssh restart
to check service status, use

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
Avatar of vishwakarmak

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

Is this the only way is there any command to do this operation
which sshd do you run on your system?
ASKER CERTIFIED SOLUTION
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial