使用python在solaris 10上执行ssh

2024-09-30 16:34:24 发布

您现在位置:Python中文网/ 问答频道 /正文

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

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-none.whl

我也尝试过安装加密技术的源代码,但是我没有运气,有什么建议吗


Tags: the代码fromorg服务器机器urlparamiko