Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fixing slow login in OL 7

Dude!Aug 23 2015 — edited Sep 8 2015

When you ssh into OL 7, there might be quit a delay before you see the shell prompt after entering your password.

The following is one way to fix the issue:

# cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig

# sed -i "s/#UseDNS yes/UseDNS no/" /etc/ssh/sshd_config

# systemctl restart sshd.service

The other way would be to make sure your configured DNS server provides a reverse DNS lookup of your client IP address.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2015
Added on Aug 23 2015
19 comments
3,266 views