Modify SSH Login Port
Modify File: /etc/ssh/sshd_config
Port 22 #On the third or fourth OK, if there is a pound sign in front, please delete it, modify it to 65534 or less.
You can use the vi command in the remote connection, or sftp to download it locally. After modification, use the following command to restart the ssh service
/etc/init.d/sshd restart#centos system, restart ssh service command
/etc/init.d/ssh restart#debian/ubuntu system, restart ssh service command
More secure settings, use small login and switch ROOT (this method can't upload files with SFTP)
useradd yzgod#Create a new trumpet
Passwd yzgod# set the password for the trumpet, you need to enter the exact same twice, pay attention to the prompt
vi /etc/ssh/sshd_config# modified file or this
PermitRootLogin yes# put yes, Change to no, save and exit, and restart the SSH service (there are restart commands on it)
Remember if There are new trumpet, trumpet or password is set incorrectly, you have the ban ROOT, you can reboot the system or a snapshot rollback, could no longer log in.
If you don't need a secure environment and you need to use SFTP to manage files, then you can change the port.
This blog post describes how to create a virtual machine collection. Before creating a collection, w
On the 14th of July, I did a <newbie server installation SERV-U graphic tutorial>, te
After making the Chinese version of Windows Server 2008, first install the software in the virtual m
ASP provides powerful file system access, which can read, write, copy, delete, rename, and other fil
Configuration of multi-IP network segment of NAT network under Xen
Windows 2008 driver installation failure solution
Windows Server 2012 Quickly Add Session-Based Remote Desktop Session
Configuring Windows Server 2008 Network Center
Windowsserver2012 when prompted to install .NETFramework can not find the source file
File sharing between Win Server 2012 and older versions of Win Server should be understood
Use and manage BYOD in a Windows Server 2008 environment
Efficient Domain Management Experience under Windows Server 2008
How to use Windows Hello function of Win10 system
Interpretation of Win 2000/XP blue screen solution practical skills
Explain the principle of Windows 7 "God Mode"
Solving the problem of NTLDR file loss
Several easy ways to hide folders
Discussion group can pass files QQ for Mac release 3.1.2 official version
Using the registry to completely hide the u disk drive letter in my computer
How to solve the Windows 8 folder unresponsive system suspended animation problem?
How to do GIF maps on Meitu Xiu Xiu Mei Tu Xiu Xiu GIF Emoticon Practice Tutorial
Win7 system starts the internet share connection error null how to solve