BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 12th, 2006, 06:35 PM
CyBerHigh CyBerHigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 461 CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 12 h 36 m 28 sec
Reputation Power: 23
Send a message via AIM to CyBerHigh
Sshd suddenly stoped working

I am using Freebsd 5.4 and just now I was going to log into my server. Well when I did it just hung there, it never asked me for my password or give me an error msg. So I went and looked on my server and found that there was an error msg saying this:

sshd[779]: Fatal : Timeout before Authencation for <my IP>

I have absolutly no idea why this would all of a sunden happen, I tried other computers and I get the same result. I also rebooted server and it didn't fix anything. I have done any editing to the server for few weeks and it has worked every day till today. Any idea?
__________________
My Site:
http://www.coryhardman.com

Reply With Quote
  #2  
Old April 13th, 2006, 06:39 AM
CyBerHigh CyBerHigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 461 CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 12 h 36 m 28 sec
Reputation Power: 23
Send a message via AIM to CyBerHigh
I just relized that it is doing something even odder now. It just let me log in, but it wasn't like it normaly was. It took about 3 mins for the ssh client to promote me for a password and once I entered the password it went straight in with no problems. It is doing this on all of my servers now actually from any computer. I am no longer getting the error msg on any of the server either. Any ideas?

Reply With Quote
  #3  
Old April 13th, 2006, 02:17 PM
namotco namotco is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Madison
Posts: 419 namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 43 m 23 sec
Reputation Power: 35
Send a message via AIM to namotco
I experienced the same. I would:

1. upgrade to FBSD 6.0
2. upgrade OpenSSH
3. make sure your sshd_config is right

I don't remember which option it is, but these are ones you might want to look at:


# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
#PermitEmptyPasswords no
...
...
...
ClientAliveInterval 60
ClientAliveCountMax 3
UseDNS no

check you system too (ssh_config)
__________________
MadisonIP

Reply With Quote
  #4  
Old April 13th, 2006, 07:13 PM
CyBerHigh CyBerHigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 461 CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 12 h 36 m 28 sec
Reputation Power: 23
Send a message via AIM to CyBerHigh
well those suggestions helped get the password prompt back to normal however now after I enter the password it hangs for a few minutes than finaly lets me in like normal. I have looked through the config file and everything seems right. Any ideas for this?

Reply With Quote
  #5  
Old April 13th, 2006, 07:20 PM
namotco namotco is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Madison
Posts: 419 namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 43 m 23 sec
Reputation Power: 35
Send a message via AIM to namotco
As I recall that's a documented issue, but I haven't found it again yet. I'll keep looking. Also what versions of SSH (client and server)?

Reply With Quote
  #6  
Old April 13th, 2006, 07:26 PM
CyBerHigh CyBerHigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 461 CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level)CyBerHigh User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 12 h 36 m 28 sec
Reputation Power: 23
Send a message via AIM to CyBerHigh
for my client I am using: OpenSSH_3.8.1p1 FreeBSD-20040419, OpenSSL 0.9.7e 25 Oct 2004

for the server I have: OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004

The server is running freebsd 6.0 and the client is freebsd 5.4

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Sshd suddenly stoped working

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap