Server responded" Algorithm negotiation failed"

ubuntu 15.10 安装 openssh-server后,使用ssh客户端连接时可能报此错误,情况如上图所示

server responded "algorithm negotiation failed”

解决方法

修改ssh的配置文件 /etc/ssh/sshd_config

在配置文件中添加:

Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc

MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,hmac-sha1-96,hmac-md5-96

KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

重启sshd服务后(sudo service ssh restart),即可正常连接

时间: 2024-10-28 10:02:12

Server responded" Algorithm negotiation failed"的相关文章

Server responded "Algorithm negotiation failed" SSH Secure链接服务器错误

Ubuntu 16.04安装openssh-server后,使用ssh客户端连接时可能报此错误,情况如下图所示: server responded "algorithm negotiation failed" 修改服务器端ssh的配置文件,目录为:/etc/ssh/sshd_config,输入如下命令进行编辑 sudo vi /etc/ssh/sshd_config 切换编辑模式(i),设置参数 PasswordAuthentication yes 在配置文件末尾添加 Ciphers

windows用SSH和linux同步文件&linux开启SSH&ssh client 报 algorithm negotiation failed的解决方法之一

1.安装.配置与启动 SSH分客户端openssh-client和openssh-server 如果你只是想登陆别的机器的SSH只需要安装openssh-client(ubuntu有默认安装,如果没有则sudo apt-get install openssh-client),如果要使本机开放SSH服务就需要安装openssh-server sudo apt-get install openssh-server 然后确认sshserver是否启动了: ps -e |grep ssh 如果看到ssh

ripple Failed to load resource: the server responded with a status of 404 (Not Found)

在VS2015中使用Cordova + typescript开发中,遇到个问题. 在javascript console 中提示: Failed to load resource: the server responded with a status of 404 (Not Found) 解决的办法: 将工程的config.xml 拷贝到www目录下,就可以解决.

mpvue 小程序加载不了图片 Error: Failed to load local image resource /images/xx.png the server responded with a status of 404 (HTTP/1.1 404 Not Found)

mpvue开发小程序时候,要添加静态本地图片 <img src="../../images/bg.png" alt=""> 会报错: VM14878:2 Failed to load local image resource /images/bg.png the server responded with a status of 404 (HTTP/1.1 404 Not Found) 原因有很多种,解决办法可以改webpack,或mpvue的包,这里提

Spring Boot Failed to load resource: the server responded with a status of 404 ()

出现错误: Failed to load resource: the server responded with a status of 404 () 但是其他页面正常显示: 原因: 浏览器看一下:  点开 看一下 请求链接: Request URL: http://localhost:8080/emp/asserts/css/bootstrap.min.css 明显 加了 请求关键字 emp 了. 但是我们的资源路径全部放在 static 应该没有问题,拦截器如果存在问题,那其他页面也不可能正

Failed to load resource: the server responded with a status of 400 (Bad Request) 错误请求解决

前言 这个问题是我在用ajax做文件上传时遇到的,朋友也遇到这种情况,在这里总结一下 分析 Failed to load resource: the server responded with a status of 400 (Bad Request)   是错误请求的报错 出现这种错误一般情况是: 1.前端的参数类型和后端的参数类型不匹配,比如前端string 类型,后端是date类型 <input type="date" id="bornDay" name

12c emcc Algorithm negotiation fail

12c emcc 安装部署遇到的问题AIX 7.1 +12c cloud control APPLIES TO: Enterprise Manager Base Platform - Version 12.1.0.2.0 and later Information in this document applies to any platform. SYMPTOMS Agent deployment from Enterprise Manger (EM) 12.1.0.2 Cloud Contro

Datanode启动问题 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for Block pool &lt;registering&gt;

2017-04-15 21:21:15,423 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: supergroup = supergroup 2017-04-15 21:21:15,467 INFO org.apache.hadoop.ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue queueCapacity:

adb server didn t ack failed to start daemon

关掉Ecilpse,打开cmd命令行 1)cd到sdk的platform-tools目录下, 2)执行  adb kill-server  ,出现  server not runing 提示 3)执行  adb start-server ,如果顺利start了,重启Eclipse即可.       如果出现 ADB server didn't ACK,failed to start daemon 的提示,       这个是因为有其他应用占用了ADB SERVER的端口.可能是豌豆荚可能是adb