Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to open sshd service in Centos6.7

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

It is believed that many inexperienced people have no idea about how to open sshd service in Centos6.7. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

1. Use the "chkconfig-- list | grep sshd" command to check whether the sshd service is enabled. The screenshot shows the off status.

Note: the installed system is turned on by default. Here I shut it down in advance for demonstration.

2. Execute "chkconfig sshd on", then execute "chkconfig-- list | grep sshd" again, and you can see that the sshd service has been opened.

Note: you can see 0JEI off 6, which is still the default setting of the system, which is the default setting of the system. The following article will describe how to set the program self-startup off or on under different running levels.

3. Perform a "reboot" restart, and then execute "chkconfig-- list | grep sshd" again after re-entering the system. You can see that the opening operation on the sshd service has taken effect.

4. See the instructions in step 2. Here we briefly introduce how to set the opening of the service program under different system running levels by opening the sshd service. If you look at the figure below, you can see that sshd services are in an off state at the level of 0meme 1 and 6, so how to turn on these services under these levels of operation?

5. Execute "chkconfig-level 016 sshd on" to open it.

6. Execute "chkconfig-- list | grep sshd" to check the current service status and see that it has been enabled.

7. Execute "reboot" and re-execute "chkconfig-- list | grep sshd". You can see that sshd has already been in on status at the level of 0meme 1 and 6. The running level (runleve) of the system can also be modified in the configuration file (/ etc/inittab) to be tested by the line, which is not described too much here.

After reading the above, have you mastered how to open the sshd service in Centos6.7? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report