This article is a mirror article of machine translation, please click here to jump to the original article.

View: 6316|Reply: 1

[linux] CentOS modifies the default 22 port for SSH

[Copy link]
Posted on 12/30/2021 8:30:08 PM | | | |
SSH is an abbreviation for Secure Shell, developed by the IETF's Network Working Group. SSH is a security protocol built on top of the application layer. SSH is a more reliable protocol that provides security for remote login sessions and other network services. Utilizing SSH protocols can effectively prevent information leakage during remote management. SSH started as a program on UNIX systems and quickly expanded to other operating platforms. SSH closes vulnerabilities in the network when used correctly. The SSH client works with multiple platforms. SSH runs on virtually any UNIX platform—including HP-UX, Linux, AIX, Solaris, Digital UNIX, Irix, and others.

Review:

CentOS modifies 22 default ports SSH default ports
https://www.itsvse.com/thread-2657-1-1.html

First, turn off and disable the firewall to prevent the connection from being unable to connect after changing the new port number (or adding firewall rules to release the port), the command is as follows:


The default ports for SSH are:22, we modify the port to:2021, the command is as follows:



After the modification is complete, restart the SSH service with the following command:

(End)




Previous:jQuery Ajax requests to send JSON content
Next:Confused Egg Cloud Search Artifact v1.0
Posted on 12/31/2021 3:07:36 PM |
Very good, very nice
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com