in reply to Re^4: How can I connect to a Linux Machine from a Windows Box
in thread How can I connect to a Linux Machine from a Windows Box

By default SSH runs on port 22, so yes you need to connect using the SSH protocol. Regards example code, did you read the documentation? There are examples there. The error message you are getting is because you have:

use Net::SSH qw(sshopen2);

when you want something like:

use Net::SSH qw(ssh issh sshopen2 sshopen3);.

Again, read the documentation for a further information and example code.


Update: Crapola, please ignore the part of this post which has been struck out. Thanks to ikegami for pointing out my mistake.

Hope this helps

Martin

Replies are listed 'Best First'.
Re^6: How can I connect to a Linux Machine from a Windows Box
by ikegami (Patriarch) on Apr 05, 2007 at 15:00 UTC
    He's not using ssh, issh or sshopen3, so he doesn't need to import those. It looks like the library is trying to use the external utility ssh, but cannot locate it. Is that one of the module's dependacies?
      Gadzooks, I was too hastey. From the documentation:

      For an all-perl implementation that does not require the system ssh command, see Net::SSH::Perl instead.

      Martin