解决Failed to connect session for conifg 故障

服务器升级openssh之后jenkins构建报错了,报错信息如下:

Failed to connet or change directory

jenkins.plugins.publish_over.BapPublisherException:Failed to connect session for config.....Message [Algorithm negotiation fail]

升级前ssh版本:OpenSSH_5.3p1

升级后sshl版本:OpenSSH_6.8pl

解决办法:

修改/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,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,[email protected]

重启sshd服务后,问题解决。

时间: 2024-08-08 08:45:01

解决Failed to connect session for conifg 故障的相关文章

Flex Failed to connect; session timed out.解决办法

Flex Failed to connect; session timed out.解决办法2009-08-13 09:23 最近学Flex,经常出现下面这个错误. Failed to connect; session timed out.Ensure that:1. You compiled your Flash application with debugging on.2. You are running the debugger version of Flash Player. 网上找下

解决openstack “failed to connect to server (code: 1006)”故障一例

openstack版本环境:ocata 安装完成ocata版本后,新建主机实例后,通过管理端进入主机实例的控制台时,报错:"failed to connect to server (code: 1006)" 解决思路: 1.检查日志文件,通过日志寻找原因. tail -f /var/log/nova/nova-novncproxy.log 发现连接5900时出现"Name or service not known" 2017-05-17 17:01:43.994 7

测试vmware vcenter server appliance登陆web clinet出错failed to connect to vmware lookup service故障

解决:failed to connect to vmware lookup service故障( 5.5.0) 故障状态: 尝试登录vsphere web client时,系统提示如下错误信息: Failed to connect to vmware lookup service https://xxxx:7444/lookupservice/sdk-ssl certifate verification failed. 故障分析: 由于自己更改了vcenter virtual appliance

error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory 解决办法

服务器版本:CentOS Linux release 7.4 Linux lb 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 参考:https://www.cnblogs.com/yogurtwu/p/9988974.html 注:在翻了很多baidu和google相关文章后,逐步排查,根据手动执行libvirtd命令出现的报错信息才查到解决方法.一路坑. 对装有k

【LR11】Error -27796: Failed to connect to server"server:port": [10060] Connection timed out错误解决办法

  场景描述:被测系统是发布在远程服务器上的,假设IP是10.10.10.10,端口是8066,那么访问地址是http://10.10.10.10:8066/,在control机器上我设置了IP欺骗. 错误现象:在场景运行时出现大量Action.c(8): Error -27796: Failed to connect to server"server:port": [10060] Connection timed out错误. 官方的troubleshooting: 查看工具的tro

Eclipse解决Launch error: Failed to connect to remote VM [duplicate]

有时开启多个Eclipse之后,连接真机调试程序时在Controls控制台里面会出现Launch error: Failed to connect to remote VM [duplicate] ,DDMS输出里面会报con't bind to local 86XX 或者87xx debugger的错误,这是因为端口占用的问题 解决方案: 1.关闭eclipse 2.拔掉Usb连接线 3.关闭任务管理器中所有的Eclipse.exe进程 4.关闭adb.exe 5.重启eclipse,重新连上

解决Nginx的connect() to 127.0.0.1:8080 failed (13: Permission denied) while connect

在进行Nginx+Tomcat 负载均衡的时候遇到了这个权限问题,在error.log日志中,我们可以看到如下: connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream, 经过一番检查以及google,应该是SeLinux的导致的.可以选择一些两种方式进行: 1.关闭SeLinux,可以查看以下文章: CentOS下查看SeLinux状态及关闭SeLinux 2.执行下面的命令

[转发]解决 git push Failed to connect to 127.0.0.1 port 45463: 拒绝连接

使用Github pull 代码突然报错: Failed to connect to 127.0.0.1 port 43421: Connection refused 使用 lsof 发现端口未被占用:lsof -i:45463 查看代理:env|grep -i proxy NO_PROXY=localhost,127.0.0.0/8,::1 http_proxy=http://127.0.0.1:45463/ HTTPS_PROXY=http://127.0.0.1:45463/ https_

解决;R语言使用sqldf库是报错"Failed to connect to database: Error: Access denied for user '..'@'localhost' (using password: NO) Error in !dbPreExists : invalid argument type"

原因:在使用sqldf时,不需要加载RMySQL库 解决方案:在控制台执行释放RMySQL库加载 detach("package:RMySQL", unload=T); 解决;R语言使用sqldf库是报错"Failed to connect to database: Error: Access denied for user '..'@'localhost' (using password: NO) Error in !dbPreExists : invalid argume