使用python在solaris10上执行ssh



我试图使用Paramiko在python代码中执行ssh,它在我的本地机器上运行。当我把它上传到服务器(SOLARIS10(时,我从pipit.org下载了Paramiko,pip安装了它,但它需要密码库

Collecting cryptography>=2.5 (from paramiko==2.7.2)
Could not fetch URL https://pypi.python.org/simple/cryptography/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement cryptography>=2.5 (from paramiko==2.7.2) (from versions: )
No matching distribution found for cryptography>=2.5 (from paramiko==2.7.2)

密码学不提供py2.py3任何东西。whl

我也试着安装加密的源代码,但我运气不好,有什么建议吗?

您可以尝试安装netmiko库,它与密码学库以及一起提供

最新更新