Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am trying to login using ssh on Red Hat Linux 5 server, The password appears immediately but after I enter the password it takes about 1 Minute to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    28

    Question taking long time to login on linux server


    Hi,

    I am trying to login using ssh on Red Hat Linux 5 server,

    The password appears immediately but after I enter the password it takes about 1 Minute to login completely.



    Regards,

    Manoj

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    most of the time when I see problems like this its dns related. when you log in it usually tries to reverse your ip, and while its waiting on that it just stalls. to test you could add your ip to the linux hosts file so dns is skipped and see if that helps.

    otherwise, is anything showing up in the logs?

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Location
    USA
    Posts
    21
    Check and see whether or not you have "files" as the first option in your /etc/nsswitch.conf

Posting Permissions

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