LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
ssh slow login


Hi,

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 0.0.0.0

Does anyone have any suggestions for me?

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

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



Cheers,
Tink
 
Old 01-23-2008, 09:50 AM   #3
sectioneight
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!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 PM.

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