Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi, I am facing a problem while ssh to remote server. puru@server1.test.com 's password: (When i entered password am getting this error) Read from remote host server1.test.com: Connection reset by ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13

    Exclamation SSH issue

    Hi,

    I am facing a problem while ssh to remote server.

    puru@server1.test.com's password: (When i entered password am getting this error)

    Read from remote host server1.test.com: Connection reset by peer
    Connection to server1.test.com closed.

    Then i tried to su:-

    [guna@server1 opt]$ su puru
    Password:
    su: cannot set user id: Resource temporarily unavailable.

    Please help its quiet urgent for me...............

    Last edited by purusrhce; 03-28-2009 at 04:22 PM. Reason: Added more info

  2. #2
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Does the puru user exist in /etc/passwd?

    Can you su to any other users (ie, su guna, when logged in as guna)?

    Can you 'su puru' from the root account (if you have access)

    /var/log/secure.log may have information about the failure to log in as puru over ssh, but you will need to be root to read it.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    35
    Quote Originally Posted by purusrhce View Post
    Hi,

    I am facing a problem while ssh to remote server.

    puru@server1.test.com's password: (When i entered password am getting this error)

    Read from remote host server1.test.com: Connection reset by peer
    Connection to server1.test.com closed.

    Then i tried to su:-

    [guna@server1 opt]$ su puru
    Password:
    su: cannot set user id: Resource temporarily unavailable.

    Please help its quiet urgent for me...............

    can you connect with other users . root ; ?
    if not
    please check if your server configured for hostbased authentification and try to make in ssh config . alllow from all

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Quote Originally Posted by Fantaman View Post
    can you connect with other users . root ; ?
    if not
    please check if your server configured for hostbased authentification and try to make in ssh config . alllow from all
    Dear All,

    Thanks for your valuable reply's. I could able to su from "root" to others users but not to puru user. Is there any process limitations? If yes how to increase the process limitations for a particular user.........

    Thanks in Advance,

  5. #5
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Quote Originally Posted by purusrhce View Post
    I could able to su from "root" to others users but not to puru user.
    This sounds to me like either the puru user isn't configured, or is configured incorrectly.

    Check the entry for puru in /etc/passwd to see if it is the same as other users, on the server you are trying to connect to.

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Quote Originally Posted by Ziplock View Post
    This sounds to me like either the puru user isn't configured, or is configured incorrectly.

    Check the entry for puru in /etc/passwd to see if it is the same as other users, on the server you are trying to connect to.
    The user was using this account without any problem for last 2 years, all of a sudden he is getting this error. When i searched via google it says something about process limitation & needs to update /etc/security/limits.conf. When i checked in other machines all the values are same. Any help?

  7. #7
    Linux Enthusiast
    Join Date
    Aug 2006
    Location
    Portsmouth, UK
    Posts
    539
    Have you checked faillog ?
    RHCE #100-015-395
    Please don't PM me with questions as no reply may offend, that's what the forums are for.

  8. #8
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Yes i ran this command

    "faillog -u -r puru" it ran without errors

  9. #9
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Is the puru user over their quota?

    How big is their home directory?

    Code:
    du -sh /home/puru
    Can you run:

    Code:
    quota -u puru

  10. #10
    Just Joined!
    Join Date
    Mar 2009
    Posts
    13
    Quote Originally Posted by Ziplock View Post
    Is the puru user over their quota?

    How big is their home directory?

    Code:
    du -sh /home/puru
    Can you run:

    Code:
    quota -u puru
    Hi All,

    Thanks for all of you, The issue got solved. I increased the below values in /etc/security/limits.conf file.

    * soft nproc 4096
    * hard nproc 16384

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...