Net::SSH::Expect error .SSHAuthenticationError Login timed out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • babp
    New Member
    • Sep 2009
    • 10

    Net::SSH::Expect error .SSHAuthenticationError Login timed out

    Hi ,
    Please help me for this authentication erroror:

    I am trying to ssh to a client(est21.in d.bg.com)
    using Net::SSH::Expec t .
    As per the login is successful but getting following error .I tried with diffrent timeout value also.

    SSHAuthenticati onError Login timed out. The input stream currently has the contents bellow: Last successful login: Mon Oct 24 13:46:07 IST 2011 est.ind.bg.com
    Last authentication failure: Sun Oct 23 23:46:03 IST 2011 nanditha.ind.co m
    Last login: Mon Oct 24 13:46:07 2011 from est.ind.bg.com


    You have mail.

    Value of TERM has been set to "xterm".
    WARNING: YOU ARE SUPERUSER !!

    est21# at /opt/perl_64/lib/site_perl/5.8.8/Expect.pm line 787
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    First, you should never log in to SSH as superuser. You should log on using your own account and then use sudo if you have to do things as root. By default I turn off the ability to log in remotely as root via SSH.

    Second, You should probably check out the suggestions and comments in your cross post here: http://goo.gl/bo2Bi

    Regards,

    Jeff

    Comment

    Working...