LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-13-2004, 10:05 AM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Rep: Reputation: 31
Connection reset by peer


I'm having the strangest problem when trying to connect to my linux server. When I try and ssh into it I get the message below. The strange thing is that root can still ssh in, just not any user accounts on the server. I'm not sure what's causing this but it worked fine yesterday. The only thing that I changed yesterday was to make a group and add some users into it. Could that have effected something?

Some direction would be great. Thanks!

###############################################

[mijohnst@trinit mijohnst]$ ssh linuxserver
Read from remote host linuxserver: Connection reset by peer

###############################################
 
Old 07-13-2004, 10:42 AM   #2
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
I also forgot to ask if there is a limit to the amount of people that can connect using SSH and if that's configurable?
 
Old 07-14-2004, 10:45 AM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
bump
 
Old 07-14-2004, 10:49 AM   #4
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
Re: Connection reset by peer

Quote:
Originally posted by mijohnst
I'm having the strangest problem when trying to connect to my linux server. When I try and ssh into it I get the message below. The strange thing is that root can still ssh in, just not any user accounts on the server. I'm not sure what's causing this but it worked fine yesterday. The only thing that I changed yesterday was to make a group and add some users into it. Could that have effected something?

Some direction would be great. Thanks!

###############################################

[mijohnst@trinit mijohnst]$ ssh linuxserver
Read from remote host linuxserver: Connection reset by peer

###############################################
Does the mijohnst user exist on the remote server? Try issuing the command with a -l switch and specify the user.
 
Old 07-14-2004, 11:02 AM   #5
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
I just figured it out looking under /var/log/messages... It looks like everyone's password expired all at once. I don't know how that happened because when I look at the user properties the passwords are set to NOT expire. Any clue? Thanks!
 
Old 07-14-2004, 11:07 AM   #6
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
If not configured to do so, no, I have no idea why they would've expired, short of passwd/shadow corruption.
 
Old 07-14-2004, 11:11 AM   #7
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 401

Original Poster
Rep: Reputation: 31
Thanks for the help LanRx... I'll have to figure out why it's doing what it's doing so this won't happen again. I hope my password file isn't corrupt. I changed my username password and everything started going again. Well, we'll see.
 
Old 07-14-2004, 11:14 AM   #8
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
Are you using shadow passwords?
Ensure that the password field is not * in /etc/passwd, as that will disable the account.

Are you able to just reset the password on an existing account, and have it work successfully?
 
  


Reply


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
Connection reset by peer manojg Linux - Networking 6 11-29-2008 12:43 AM
Connection reset by peer tkt Linux - Newbie 1 06-22-2005 10:48 AM
ssh connection reset by peer Brain Drop Linux - Software 4 07-30-2004 09:18 PM
Connection reset by peer digimike Linux - Networking 0 06-18-2003 10:53 PM
Connection Reset by peer lynden Linux - Networking 2 10-13-2002 09:14 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration