LinuxQuestions.org
Review your favorite Linux distribution.
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 07-30-2004, 01:08 PM   #1
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
ssh connection reset by peer


hi all, I have been running a webserver of mine for about 2 weeks now and yesterday out of nowhere it started giving me this error when I try to log in with ssh. I did a little looking and found some things like password file corrupt and such but when I rebooted it worked fine. but now today it has done it again. I do not want to be rebooting my webserver as I do not have a monitor or keyboard hooked up to it.

when I reboot it this time what should I be looking for as a cause of this? I have tried logging in from different computers and using different names but it is all the same.

thankyou
 
Old 07-30-2004, 04:07 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I would start by checking the log files by doing something like this:

cat /var/log/messages | grep ssh

If you don't find anything there edit /etc/ssh/sshd_config and change the log level to debug, restart sshd, try to login again, then check the log file again to see if you can find anything.
 
Old 07-30-2004, 05:01 PM   #3
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Original Poster
Rep: Reputation: 35
this seems to be whats going on:

Jul 30 13:58:07 ServerPenguin sshd(pam_unix)[15335]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=192.168.254.2 user=drew
Jul 30 13:58:27 ServerPenguin sshd(pam_unix)[15335]: account drew has expired (failed to change password)
Jul 30 13:58:27 ServerPenguin sshd[15335]: PAM rejected by account configuration[13]: User account has expired
Jul 30 13:58:27 ServerPenguin sshd[15335]: Failed password for drew from ::ffff:192.168.254.2 port 1142 ssh2
Jul 30 13:58:27 ServerPenguin sshd[15335]: fatal: monitor_read: unsupported request: 24


but i never changed anything and it worked for two or 3 weeks before starting this?
 
Old 07-30-2004, 07:47 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Try changing the passwd for drew. As root do:

passwd drew
 
Old 07-30-2004, 09:18 PM   #5
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Original Poster
Rep: Reputation: 35
OK, I went ahead and changed the password and time will tell I guess. Thanks for the help.
 
  


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
SSH/rsync "Connection reset by peer" hamish Linux - Networking 6 12-10-2005 06:09 AM
Connection reset by peer mijohnst Linux - Networking 7 07-14-2004 11:14 AM
ssh connection reset by peer bubsgt95 Linux - General 6 06-27-2003 10:24 PM
Connection reset by peer digimike Linux - Networking 0 06-18-2003 10:53 PM
"Connection Reset By Peer" with SSH YMJ Linux - Networking 10 03-24-2003 06:19 AM

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

All times are GMT -5. The time now is 03:08 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