Because there was no config (guessing here) the port defaulted to 'ssh'. When Net::SSH::Perl tried to lookup 'ssh' using getservbyname() it couldn't find the definition and so died. Perhaps your <windir>\system32\drivers\etc\services file doesn't have a definition for "ssh 22/tcp", or perhaps the system can't find this file?
In reply to Re: Using Net::SFTP on a windows system.
by shenme
in thread Using Net::SFTP on a windows system.
by dwhitney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |