OriginalFirst, modify the Vi/etc/ssh/sshd_config file1, modify the default port: The default is 22, and has been commented out, the modification is to remove the comments, and modify the other ports.2, prohibit the root user remote login: Modify the
Solve the Problem of root User ftp login and telnet login in Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Solve the Problem of root User ftp login in Linux
Generally, for
1. Modify the VI/etc/ssh/sshd_config file1. Modify the default port: the default port is 22 and has been commented out. The comment is removed and changed to another port.2. Disable remote login for the root user: Modify permitrootlogin, Which is
The security of the server is self-evident, the first step in server security setting is to block the portal.
For Linux, blocking the entrance, is not allow others to casually into our servers inside the mess, otherwise an order "RM-RF/", the
Ubuntu Linux has a distinctive feature, that is, when you first use, you cannot log on as root to the system, why this? This will start with the installation of the system. For other Linux systems, the root password is typically set during the
To modify the idea of root: Add a new user, and then set the user as root, so that we can login ssh to use the new user, this user only we know, this increased the difficulty of guessing, so the security of the VPS host further improved.
First, add
Modify SSH ports and disable root remote login settings in Linux
View the system version below[Email protected] ~]# cat/etc/redhat-releaseCentOS Release 6.7 (Final)
Modifying a configuration fileLinux Modify Portvim /etc/ssh/sshd_configFind
In linux, modify the ssh port and disable root remote login settings-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Modify ssh port 22 in linux
Vi/etc/ssh/ssh_config
Method OneMany owners have a Linux host, whether it is a virtual machine or physical machine, generally we connect remotely, are used SSH (Secureshell based on the application layer and the transport layer on the basis of the security protocol).It
Document directory
Introduction to important Linux MySQL directories and logon passwords
Introduction to important Linux MySQL directories and logon passwords
Before giving you a detailed introduction to Linux MySQL, first let you know about
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.