in reply to Re^2: Query on Running perl Script in linux
in thread Query on Running perl Script in linux

I'm getting the exact same error. I'm using cygwin. This error happens when using the new method. Here is my code that generates the error. $Fab2SwitchSSH = Net::SSH::Any->new( $fab2_ip, user => $fab2_userid, password => $fab2_password);
  • Comment on Re^3: Query on Running perl Script in linux

Replies are listed 'Best First'.
Re^4: Query on Running perl Script in linux
by salva (Canon) on Mar 02, 2015 at 16:28 UTC
    Enable debugging in the module and post here the output:
    $Net::SSH::Any::debug = -1;

    Also, lots of bugs have been fixed in the development version (available from GitHub) of the module. You may like to give it a try. If you are using the Perl from Cygwin, the new Ssh_Cmd backend is probably your best option.

    I have not release it to CPAN because the Net::SSH2 backend is currently broken.