in reply to Re^2: Remote Execution of a Command in Linux Box
in thread Remote Execution of a Command in Linux Box

This smells like a password problem. Please change

my $pass = "admin\@123";

into

my $pass = 'admin@123';

and try again.

(If you put the password into single quotes then perl won't try to parse your string.)

Replies are listed 'Best First'.
Re^4: Remote Execution of a Command in Linux Box
by bihuboliya (Acolyte) on Dec 10, 2013 at 12:32 UTC
    Thanks Thomas for your reply. I had already checked the same but it did not work :(