【问题标题】:Perl 5.20.1 version downloaded.How to set up the path?Perl 5.20.1版本下载。如何设置路径?
【发布时间】:2014-11-23 22:59:17
【问题描述】:

我将草莓 perl 5.20.1 下载到我的 Windows 7。
我还安装了 cpan 模块。
但是,当我运行程序时,它仍然显示找不到NET::OpenSSH 我应该在我的计算机上的环境变量中创建正确的路径吗?如果是,那么正确的路径是什么?

我应该改用其他东西吗?

我只想从 Windows 7 登录到 Linux 机器

【问题讨论】:

    标签: windows perl ssh strawberry-perl


    【解决方案1】:

    来自perldoc Net::OpenSSH

    另一方面,Net::OpenSSH 不能在 Windows 上运行,甚至在 Cygwin 下也不能。 [..]

    Net::OpenSSH 在 Windows 上不起作用。 OpenSSH 多路复用功能需要通过套接字传递文件句柄,这是任何版本的 Windows 都不支持的。

    【讨论】:

      【解决方案2】:

      Net::OpenSSH #Known Issues 中所述

      已知问题

      Net::OpenSSH 在 Windows 上不起作用。 OpenSSH 多路复用功能需要通过套接字传递文件句柄,这是任何版本的 Windows 都不支持的。

      替代品

      有关替代方案,请查看:

      1. Net::SSH::PerlHow to SSH from Perl script from windows machine to EC2 machine 中建议。

      2. Net::SSH2Unable to install the perl module Net::SSH::Perl on windows 64 bit 中建议。

      【讨论】:

      • ... 或 Net::SSH::Any 在 Net::SSH2 之上提供 Net::OpenSSH API 的子集。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-24
      • 2019-11-15
      • 2010-09-26
      • 1970-01-01
      相关资源
      最近更新 更多