Got it

How to Start and Shut Down the SSH Service

Latest reply: Oct 13, 2021 07:37:21 579 5 4 0 0

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.

Very important, learned
View more
  • x
  • convention:

Helpful
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

Sara_Obaid
Moderator Created Oct 13, 2021 06:57:41

Good topic. Thank you for the info!
View more
  • x
  • convention:

Precious
Moderator Created Oct 13, 2021 07:37:21

Good topic. Thank you for the info!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.