Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-23-2008, 01:24 AM   #1
LQ Newbie
Registered: Oct 2006
Location: BC, Canada
Distribution: Debian, Redhat
Posts: 17

Rep: Reputation: 0
ssh slow login


I am running CentOS 5. I installed a minimal install (base system) and updated with "yum update".

I am having a real weird issue.. when I SSH to the server (from the internet), I punch in my username and password, then it takes about 2 minutes to put me into a shell.

When I ssh from the server to localhost, the login is instantanious.

The only changes I have made to the "sshd_config" file is to not allow root to login, and to bind to the internet IP address, because "/var/log/secure" was spitting out errors saying it could not bind to port 22 of

Does anyone have any suggestions for me?

Thanks in advance.
Old 01-23-2008, 02:03 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Is useDNS enabled in your sshd_config, and the host you're
connecting from doesn't have a reverse lookup?

Old 01-23-2008, 09:50 AM   #3
LQ Newbie
Registered: Oct 2006
Location: BC, Canada
Distribution: Debian, Redhat
Posts: 17

Original Poster
Rep: Reputation: 0
That solved it!

I turned UseDNS to no in the "sshd_config".

Thanks Tink!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 Slow Response to SSH Login, FTP Publishing, etc. AB5NI Fedora 1 09-06-2007 03:47 PM
SSH slow login dcass Linux - Software 2 02-16-2005 02:16 AM
ssh too slow ksgill Linux - Newbie 3 10-26-2004 04:44 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM
Slow SSH... Grim Reaper Linux - Security 17 09-25-2003 05:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration