What is SSH?
SSH to Secure Shell
Developed by the network Working Group of the IETF (Working Group);
SSH is a security protocol based on the application layer and the transport layer.
SSH transmission data is encrypted , can effectively prevent the transmission process is intercepted data security.
SSH data is compressed , so it can speed up the transfer
SSH Service Port Modification
1. First check to see if the current Linux installed SSH software package, using Rpm-qa|grep SSH
2. Find the SSH service profile path is generally under/etc/ssh This directory sshd_config this file (note and ssh_config distinguish)
3. Using the VI \vim Editor, open sshd_config This file, search to find the Port field
4. Position the cursor to port 22 This line yy then the keyboard p copy a line, insert Insert Edit first remove #port 22 before the # and then modify the next behavior Port 10021 this adds 22 and 100,212 ports.
5. After setup, such as: Wq Save exit
6. Restart the SSH service:
Service sshd Restart
Stopping sshd:[OK]
Starting sshd:[OK]
7. If you have a firewall set up, modify the Add Firewall rule, or just close the firewall.
How Linux modifies the SSH port number