In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to open the ssh service in the Linux system. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Introduction to SSH Services: SSH is a security protocol specifically provided for remote login sessions and other network services.
By encrypting the data packet, the encrypted data is transmitted to ensure the security of the transmitted data.
The SSH server is a guardian lecture (daemon). He runs in the background and responds to connection requests from the client.
The SSH server, named sshd, is responsible for real-time monitoring and processing of remote connection requests from remote SSH clients, including public key authentication, key exchange, (non-V2) symmetric (V1) key encryption and non-secure connections.
This SSH service is one of the services in our previous basic system optimization that retain boot self-boot (reload).
The ssh client contains ssh and applications such as scp (remote copy) slogin (remote login) sftp (secure FTP file transfer) and so on.
The working mechanism of ssh is that the local ssh client first sends a connection request to the remote ssh server, and the server checks the data packet and IP address sent by the connected client. If it is confirmed to be legal, it will send the key to the SSH client. At this time, the client sends the key back to the server locally, and the connection is established.
Query\ install SSH service 1. Log in to the linux system and open the terminal command. Enter rpm-qa | grep ssh to find out whether the current system is installed
two。 If the SSH package is not installed, you can install it through the yum or rpm installation package (without screenshots)
two。 After you start the SSH service and install it, start the ssh service. The Ssh service is generally called SSHD, and can be started by typing service sshd start on the command line
Or use / etc/init.d/sshd start
3. Configure\ View SSHD Port View or edit the SSH service configuration file, such as vi / etc/ssh/sshd.config. If you want to modify the port, change the default port 22 behind the port to another port (note that the previous # number should be removed)
4. Remote connection SSH if you need to connect to SSH remotely, you need to open port 22 on the firewall. Turn off the firewall, or set an exception for port 22
After reading the above, do you have any further understanding of how to open ssh services in the Linux system? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.