server responded “Algorithm negotiation failes” 报错问题解决办法,win7+ubuntu16.04

ssh工具下载地址:

ssh secure file transfer

问题:

ssh连接ubunt16.04系统出现错误:

server  responded “Algorithm negotiation failes”


原因:

服务器响应通过失败

解决方法:

1.在ubuntu命令行打开ssh的配置文件:

sudo vi /etc/ssh/sshd_config

sudo vi /etc/ssh/sshd_config

2.在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,umac-64@openssh.com,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,curve25519-sha256@libssh.org

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,umac-64@openssh.com,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,curve25519-sha256@libssh.org

3.重启sshd服务后,即可正常连接:

sudo /etc/init.d/ssh restart

sudo /etc/init.d/ssh restart

4.log

root@Master:~# sudo vi /etc/ssh/sshd_config
root@Master:~# sudo /etc/init.d/ssh restart
[ ok ] Restarting ssh (via systemctl): ssh.service.



浏览器控制台报错"Failed to load resource: the server responded with a status of 404"通常表示浏览器无法加载某个资源文件。这可能是由于以下几个原因导致的: 1. 资源文件路径错误:请确保资源文件的路径是正确的。检查一下资源文件的路径是否正确,并且确保文件存在于指定的路径中。 2. 资源文件不存在:如果资源文件确实不存在,那么浏览器就无法加载它。请检查一下资源文件是否存在于指定的路径中。 3. 服务器配置错误:有时候,服务器可能没有正确地配置资源文件的访问权限。请确保服务器已经正确地配置了对资源文件的访问权限。 4. 资源文件加载顺序错误:如果资源文件之间存在依赖关系,那么请确保它们按照正确的顺序加载。例如,如果一个脚本文件依赖于另一个脚本文件,那么请确保先加载被依赖的脚本文件,再加载依赖的脚本文件。 根据提供的引用内容,有两种可能的解决方案: 方案一:修改资源文件路径 在config文件夹下的index.js文件中,将assetsPublicPath修改为"./",然后重新加载页面。 方案二:检查服务器配置 检查工程的配置文件springMVC.xml中是否开放了对静态资源的访问权限。确保服务器正确配置了对资源文件的访问权限。 请注意,具体的解决方案可能因为你的具体情况而有所不同。如果以上解决方案无法解决问题,请提供更多的信息,以便我能够给出更准确的答案。
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值