in reply to Re: Unable to ssh in linux box
in thread Unable to ssh in linux box

Reply to all

I tried "uname -n" it still gives "tic-rhel5-20-12"

localhost is working fine

I escaped

my $cmd = "ls \-l \/root";

Still same error Net::SSH: Bad host name: tic-rhel5-20-12

Replies are listed 'Best First'.
Re^3: Unable to ssh in linux box
by Anonymous Monk on May 12, 2011 at 17:55 UTC

    It works for me now, I troubleshooted myself, I changed the hostname to actual "ip address" and username to just "root" it worked for me