Hello, everyone!
I'd like to share with you how to start and shut down the SSH service.
1. Concept
The full name of SSH is Secure Shell. It is a family of protocols developed by the Network Working Group of the Internet Engineering Task Force (IETF). Its purpose is to provide secure remote login and other secure network services on non-secure networks. Both the Solaris operating system and the Linux operating system, as well as the Windows operating system, will be involved.
2. How to start and shut down the SSH service (using the Solaris operating system as an example)
Startup steps:
1) Log in to the Solaris operating system as the root user via Telnet using the PuTTY tool.
2) Execute the following command to query the SSH user:
# ps -ef|grep ssh
If the query path is '/user/lib/ssh/sshd', execute the following command to start the SSH service:
# /etc/init.d/opensshd start
If the query path is /user/local/sbin/sshd, run the following command to start the SSH service:
a) # svcadm restart ssh
b) # svcadm enable ssh
Close the steps:
1) Log in to the Solaris operating system as the root user through Telnet using the PuTTY tool.
2) Execute the following command to query the SSH user:
# ps -ef|grep ssh
If the query path is /user/lib/ssh/sshd, run the following command to shut down the SSH service:
# /etc/init.d/opensshd stop
If the query path is /user/local/sbin/sshd, run the following command to disable the SSH service:
# svcadm disable ssh
Thanks.


