Frequently logged in to SSH friends can feel that every time you log in to SSH, you have to pause and wait for it to connect. This is because OpenSSH server has a DNS lookup option. UseDNS is by default opened. When the UseDNS option is turned on, when the client attempts to log in to the SSH server, the server first performs a DNS PTR reverse query based on the client's IP address to query the client's host name, and then performs a DNS forward A record based on the queried client host name. Query, verify whether it is consistent with its original IP address, this is a measure to prevent client spoofing, but generally we do not have PTR records for dynamic IP. Opening this option is just a waste of time, it is better to turn it off.
First, edit the file
vim /etc/ssh/sshd_config
Second, find the following characters
#UseDNS yes
Create a new line below it, fill in
UseDNS no
Three, save and restart SSH
service sshd restart
A simple step is done.
In the existing embedded LINUX system development process, all engineers are tired
Just as Hong Kong is still engaged in tug-of-war on the issue of electronic textbooks for bookseller
In order to ensure the normal operation of the Linux system and accurately solve various system prob
Here is a way for you to quickly find a large file in the system. Recently received a users report,
Linux disk partition and mobile hard disk mounting method
Rm delete the file or directory at the beginning of the dash
Determine whether the server is shut down normally under Linux environment
Vsftpd 500 OOPS: cannot change directory
How to clear the old Linux kernel
Linux system capture command tcpdump use instance
Vmware 9 installation Mac 10.8 OS
10 useful Linux command interview questions and answers
Exynos 4412 startup process analysis
Detailed explanation of Linux operating system Ifconfig command
How does the Win10 Window of the World browser collect URLs?
What should I do if the Win7 system sogouexe.exe cannot be deleted?
Change the background color and pattern of the Win8 system Metro interface
What should I do if the blue screen appears when the win8.1 system is restarted or started quickly?
Please don't reload your operating system
Win8 Operation Center Function Setting Introduction
How to list the Win8 folder in order to modify the time to make the modified row in front
How to install Win10 on the Mac Two Win10 methods on the Mac introduce the
How to recover deleted files in the recycle bin in win7 system?