RHEL7 slow ssh login

RHEL7 slow ssh login

RHEL7:
Symptom: 34 seconds to prompt password ssh login
Solution (my case):
- vi /etc/ssh/sshd_config
- GSSAPIAuthentication no
- service sshd restart

Other Linux versión:
vi /etc/ssh/sshd_config
UseDNS no

vi /etc/resolv.conf
options single-request-reopen ;in the last line. No network restart required

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Linux: how to monitor the nofile limit
Viewed 11208 times since Wed, Jul 25, 2018
HowTo: Kill TCP Connections in CLOSE_WAIT State
Viewed 16718 times since Thu, Feb 14, 2019
What UUIDs can do for you
Viewed 2173 times since Tue, Jul 17, 2018
OpenSSL: Find Out SSL Key Length – Linux Command Line
Viewed 7887 times since Mon, Feb 18, 2019
Linux How to reset a root password on Fedora
Viewed 3042 times since Sun, Dec 6, 2020
LVM: Reduce SWAP size by shrinking existing Logical Volume
Viewed 6765 times since Sat, Jun 2, 2018
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
Viewed 6003 times since Fri, Nov 30, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 6098 times since Sun, Jun 17, 2018
How to maximise SSD performance with Linux
Viewed 9108 times since Fri, May 15, 2020
RHEL: Display swap/RAM size
Viewed 3824 times since Sat, Jun 2, 2018