Results 1 to 6 of 6
Thread: Time-out on SSH Login
-
06-05-2005, 05:40 AM #1Web Hosting Master
- Join Date
- Nov 2002
- Posts
- 807
Time-out on SSH Login
Hi,
I have this problem on one server. It times-out in the Login portion of SSH. It will display the login, but after you enter the username it just hungs/time-out until it closes.
This server is running on FreeBSD with Cpanel. The server is up, we can access WHM, can reboot, can reset OpenSSh.
We already asked the DC, to disable to firewall, and still we can't log-in. The DC told us that they can login without a problem. If it is routing problem, I won't be able to login to other servers using SSH but I can.
What do you think is the problem?
Thanks
CharlesDedicatedPlace.com - The Only Place to be...
Sales@DedicatedPlace.com * Affordable, No Setup Fee, Fully Managed Dedicated Servers with Daily Remote Backup. External Server Management & Monitoring also available.
-
06-05-2005, 11:16 AM #2Junior Guru Wannabe
- Join Date
- Mar 2005
- Location
- India
- Posts
- 68
Difficult to guess the cause with given details.
Is it the same for all the username/password combo you use ?
Forget DC , can any of your friend's login ?
-
06-05-2005, 11:19 AM #3Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
It sounds like the DNS server in /etc/resolv.conf might be timing out. Try changin it for another via the Resolver Configuration in WHM
RusRuss Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
06-05-2005, 12:49 PM #4Web Hosting Master
- Join Date
- Mar 2004
- Location
- Los Angeles
- Posts
- 622
Remove the comment in UseDNS parameter in /etc/ssh/sshd_config and set it as NO.
# UseDNS yes
to
UseDNS No
Restart sshd. You need a local hand to do that, as you can not access SSH.
-
06-05-2005, 07:11 PM #5Web Hosting Master
- Join Date
- May 2003
- Location
- Florida
- Posts
- 902
If you have multiple servers, try to log into one and then SSH to the other. I have used this trick before when I accidently had the firewall block my IP. It may also help if you are having a DNS problem.
-
06-05-2005, 10:56 PM #6Web Hosting Master
- Join Date
- Nov 2002
- Posts
- 807
Thanks guys, It seems an ISP / routing problem. I tried another PC with different ISP and I can now log in.
Thanks for all your help.DedicatedPlace.com - The Only Place to be...
Sales@DedicatedPlace.com * Affordable, No Setup Fee, Fully Managed Dedicated Servers with Daily Remote Backup. External Server Management & Monitoring also available.