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
YUM How to use yum command on CentOS/RHEL
Viewed 8516 times since Thu, Oct 25, 2018
Install OpenVPN On CentOS / RHEL 7
Viewed 3929 times since Fri, May 15, 2020
“Too many authentication failures” with SSH
Viewed 7266 times since Mon, May 21, 2018
haproxy linux
Viewed 3312 times since Sun, Dec 6, 2020
logrotate Understanding logrotate utility
Viewed 2897 times since Sun, Jan 12, 2020
HP-UX - Stunnel Configuration
Viewed 3562 times since Fri, Sep 28, 2018
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 5741 times since Tue, Aug 6, 2019
red hat 7 tmpfiles service
Viewed 2576 times since Thu, Oct 11, 2018
logrotate Log Rotate Configuration
Viewed 4088 times since Sun, Jan 12, 2020
How to encrypt a partition with DM-Crypt LUKS on Linux
Viewed 9161 times since Fri, Jul 13, 2018