问题Incompatible ssh peer
来源:互联网 发布:南方全站仪取数据 编辑:程序博客网 时间:2024/06/05 18:05
用python的fabric的模块
使用fab -p $passwd -H 192.168.9.23 – ‘ifconfig’
报错如下:
[192.168.9.23] Executing task ‘host_type’
[192.168.9.23] run: ifconfig
No handlers could be found for logger “paramiko.transport”
[192.168.9.23] Login password for ‘root’:
Fatal error: Incompatible ssh peer (no acceptable kex algorithm)
Underlying exception:
Incompatible ssh peer (no acceptable kex algorithm)
Aborting.
修正问题:
翻阅网上一些方法,知对端ssh配置导致的,python 的fabric使用KexAlgorithms认证的算法,但是默认sshd配置了屏蔽了该算法,需要我们自己在对端服务器的sshd_config中添加该算法内容:
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
- 问题Incompatible ssh peer
- Incompatible ssh peer (no acceptable kex algorithm)
- SSHException: Incompatible ssh peer (no acceptable kex algorithm)
- 关于SSH登录出现Connection reset by peer 问题。
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- SSH 总是出现ssh_exchange_identification: read: Connection reset by peer问题的解决方案
- Incompatible JVM问题
- 问题: Incompatible JVM
- vector iterators incompatible问题
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- ssh Read from socket failed: Connection reset by peer
- ssh Read from socket failed: Connection reset by peer
- Unity 出现 ssl peer certificate or ssh remote key
- SSL peer certificate or SSH remote key was not OK
- ssl peer certificate or ssh remote key was not ok
- ssh登录报ssh_exchange_identification: read: Connection reset by peer
- Java 反射机制
- 文章标题
- python 写的方法返回的是个中文,在 rf 日志中显示的却是乱码解决方法
- PHP之static静态变量详解(一)
- Adversarial Sample misleading the Model(生成对抗样本迷惑模型)
- 问题Incompatible ssh peer
- 2.python连接mongodb,利用微博数据制作云图
- 让一个div居于页面中间,水平居中同时垂直居中
- goim(1):学习goim ,使用docker安装kafka 镜像
- 玩转JVM虚拟机:JVM内存结构
- IDEA中的war和war exploded的区别
- JS格式化json数据展示到页面中
- 基于深度学习的绘画风格迁移
- 正则表达式