All about service ssh in solaris
For Solaris 9 :
for disable service ssh
# /etc/init.d/sshd stop or
# /etc/rc3.d/S89sshd stop
for enable service ssh
# /etc/init.d/sshd start or
# /etc/rc3.d/S89sshd start
for a root enable connect to host via ssh service :
# vi /etc/ssh/sshd_config
.............
# Valid options are yes, without-password, no.
PermitRootLogin no
.............
Replace no with yes, after that save the edited configuration.
Don’t forget for the restart service ssh, after edit configuration.
with /etc/init.d/sshd stop and /etc/init.d/sshd start.
For refresh service ssh:
# kill -HUP `cat /var/run/sshd.pid`
For Solaris 10 :
first you can check service ssh with command
# svcs | grep ssh
online Jan_21 svc:/network/ssh:default
If status ssh ofline, you can make online with command:
# svcadm enable -t network/ssh:default or
# /lib/svc/method/sshd start
For disable service ssh:
# svcadm disable -t network/ssh:default
For restart service ssh:
# svcadm restart network/ssh:default or
# /lib/svc/method/sshd restart
For refresh service ssh:
# svcadm refresh network/ssh:default
Popularity: 51% [?]
You Should Also Check Out This Post:
- System Administrator Appreciation Day
- Troubleshooting for startup inconsistent DB
- Linux System information
- set hostname without reboot
- ssh[23593]: [ID 530472 user.error] Kerberos mechanism library initialization error:



An ordinary people, participants, contributor who share their own experiences, their knowledge, their informations, task, a few tips and tricks, their problem with solving tools..
I have a situation where we have ssh running on a server and when a user logs in the users project is not picked up. Meaning, any process the user runs does not run under the user’s project. But, if I do a “su - username” the project is picked up. Does this have to do with ssh config?