当前位置:论坛首页 > Linux面板 > 求助

【已回应】面板SSL里面的"其他证书"打开是空白 ssh命令报错

发表在 Linux面板2020-3-10 15:32 [复制链接] 4 1456

本帖最后由 谢花郎 于 2020-3-10 15:42 编辑

面板SSL里面的"其他证书"打开是空白 ssh命令报错

CentOS 7.5.1804(Py2.7.5)   

查找了论坛上的方法:
1. 修复面板没用  (重启面板,重启服务器都试了)
2. 按照其它人的贴子 ssh 执行命令报 错  
3. 面板版本升级到了测试版 再修复依然不行

[root@www ~]# pip  install pyopenssl
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: pyopenssl in /usr/lib/python2.7/site-packages (19.1.0)
Requirement already satisfied: six>=1.5.2 in /usr/lib/python2.7/site-packages (from pyopenssl) (1.14.0)
Requirement already satisfied: cryptography>=2.8 in /usr/lib64/python2.7/site-packages (from pyopenssl) (2.8)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib64/python2.7/site-packages (from cryptography>=2.8->pyopenssl) (1.12.3)
Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography>=2.8->pyopenssl) (1.0.23)
Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography>=2.8->pyopenssl) (1.1.8)
Requirement already satisfied: pycparser in /usr/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.8->pyopenssl) (2.19)

执行 bt 22

140607r33jj23uuquzjvah.png 140611hksubj13mgkoukue.png

怎么办 求解决





使用道具 举报 只看该作者 回复
发表于 2020-3-10 15:42:17 | 显示全部楼层
ssh内执行下面命令,安装一下enum3模块

  1. pip install enum34
复制代码
使用道具 举报 回复 支持 反对
发表于 2020-3-10 17:23:37 | 显示全部楼层
谢花郎 发表于 2020-3-10 15:42
ssh内执行下面命令,安装一下enum3模块

[root@www ~]# pip install enum34
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please          upgrade your Python as Python 2.7 is no longer maintained. A future version of          pip will drop support for Python 2.7. More details about Python 2 support in pip         , can be found at https://pip.pypa.io/en/latest/development/release-process/#pyt         hon-2-support
Requirement already satisfied: enum34 in /usr/lib/python2.7/site-packages (1.1.8         )
使用道具 举报 回复 支持 反对
发表于 2020-3-10 17:24:30 | 显示全部楼层
御剑乘风 发表于 2020-3-10 17:23
[root@www ~]# pip install enum34
DEPRECATION: Python 2.7 reached the end of its life on January 1s ...

没安装成功嘛?私信发一下ssh登录和面板,私信完回复一下。
使用道具 举报 回复 支持 反对
发表于 2020-3-10 18:14:57 | 显示全部楼层
谢花郎 发表于 2020-3-10 17:24
没安装成功嘛?私信发一下ssh登录和面板,私信完回复一下。

非常感谢您的回复  发现论坛上发的那些命令 pip install pyopenssl
在我这里不适应  我已通过指定路径安装解决问题。
解决办法:
Requirement already satisfied解决办法:pip install 工具包到指定目录
格式如下:
格式:pip install --target=目标路径  工具包名字
已通过这个命令解决
pip install --target=/usr/lib/python2.7/site-packages  pyopenssl
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表