Ubuntu终端连接出错:Couldn’t agree a client-to-server cipher (available: aes128-ctr,aes192-ctr......)
来源:互联网 发布:c 程序员网站 编辑:程序博客网 时间:2024/06/05 14:37
在安装了SSH-Server之后终端连接的过程中被中断
sudo apt-get install openssh-server
抛出的异常信息
Couldn’t agree a client-to-server cipher (available: aes128-ctr,aes192-ctr,aes256-ctr,chacha20-poly1305@openssh.com)
原因
CBC block cipher mode of operation已经不够安全了,所以新的SSH-Server不支持该模式,而用的终端又不支持上面的CTR的模式所以就被拒绝连接了
解决方法
有两种方案
一种是把你的终端更新至最新版本
另一种是更改支持的加密算法
vi /etc/ssh/sshd_config在最后一行添加
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,chacha20-poly1305@openssh.com,aes256-cbc然后重新启动ssh
/etc/init.d/ssh restart
阅读全文
0 0
- Ubuntu终端连接出错:Couldn’t agree a client-to-server cipher (available: aes128-ctr,aes192-ctr......)
- Putty连接的Couldn't agree a client-to-server cipher错误
- CTR
- 【数据集】CTR-SR数据集(CiteULike-a与CiteULike-t)
- 【水hash】#CTR 1 A. 123-sequence
- CTR(点击率)
- CTR初始化
- CTR预估
- CTR预估
- CTR预估
- Curl错误:Couldn't connect to server
- Curl错误:Couldn't connect to server
- couldn't open file on client side trying server side
- Ubuntu 启动mongo 时提示 couldn't connect to server 127.0.0.1 shell/mongo.js:84
- Ubuntu Error:couldn't to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145
- ubuntu mongodb报错:mongo - couldn't connect to server 127.0.0.1:27017
- [CTR]CTR之fm以及ffm
- Use document modeling to enhance PMF_1: CTR Model.
- MYSQL优化
- Hiredis 实现 Redis 流水线
- VS2013 64位 libjpeg编译使用
- Magento 开发过程中常用的使用技巧与方法
- eclipse在pull时发生冲突报错Checkout conflict with files
- Ubuntu终端连接出错:Couldn’t agree a client-to-server cipher (available: aes128-ctr,aes192-ctr......)
- Vim
- jQuery<5.1>
- 你不得不知道的5道海量数据题
- Jedis分布式+序列化
- node(使用events模块)
- LeetCode hard 335. Self Crossing
- python匹配问题
- 二叉树