Linux Server:centos 6.2
Desktop system Environment: Windows 7
Connection tool: Putty
1. Modify SSH configuration file
Vi/etc/ssh/sshd_config Modify port, disable root login, add limit user
The code is as follows
Copy Code
CentOS is really troublesome to modify the SSH Port (Port) CentOS, or because there are too many security considerations and too many context issues need to be considered. Similar problems have been encountered in samba before, just like SSH. List
Recently requested by the company, the need for remote transmission and backup of file data, wrote an article on the SSH, SCP and rsync application configuration of the whole process, may be too wordy, but mainly to want to do not miss each process
Recently requested by the company, the need for remote transmission and backup of file data, wrote an article on the SSH, SCP and rsync application configuration of the whole process, may be too wordy, but mainly to want to do not miss each process
How do I modify the default SSH port in the CentOS system?
The default CentOS default port is 22, and you'll find a lot of log files in a long time, which is the error log left by the scan attack. So what we're going to do today is to change the
The first thing to do is to modify the default port of SSH 22Need to modify file/etc/ssh/sshd_configUsing commandsVi/etc/ssh/sshd_config[[email protected] ~]# vi/etc/ssh/sshd_config# $OpenBSD: sshd_config,v 1.90 2013/05/16 04:09:14 dtucker Exp $#
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
After configuring SSH password-free login for CentOS, you are still prompted to enter the password
Perform the following three steps to configure SSH password-less logon in CentOS:
Generate public and private keys
Import the public key to the
More and more webmasters begin to use independent hosts (DedicatedHost) and VPS. In order to save costs or improve performance, many independent machines and VPS are all unmanaged bare-metal machines, and everything needs to be DIY. At this time,
More and more webmasters begin to use independent hosts and VPS. In order to save costs or improve performance, many independent machines and VPS are all unmanaged bare-metal machines, and everything needs to be DIY. At this time, the implementation
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.