LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection reset by peer (http://www.linuxquestions.org/questions/linux-networking-3/connection-reset-by-peer-204492/)

mijohnst 07-13-2004 10:05 AM

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

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

mijohnst 07-13-2004 10:42 AM

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?

mijohnst 07-14-2004 10:45 AM

bump

LanRx 07-14-2004 10:49 AM

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.

mijohnst 07-14-2004 11:02 AM

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!

LanRx 07-14-2004 11:07 AM

If not configured to do so, no, I have no idea why they would've expired, short of passwd/shadow corruption.

mijohnst 07-14-2004 11:11 AM

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.

LanRx 07-14-2004 11:14 AM

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?


All times are GMT -5. The time now is 09:30 AM.