no matching cipher found 解决

2016-12-20 Frank 服务器

在做git(托管在bitbucket.org上)拉取的时候报错

[root@instance-6 test]# git pull
no matching cipher found: client aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se server aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,arcfour256,arcfour128
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

SecureCRT 登录ssh,提示如下:

The client has disconnected from the server.  Reason:
Protocol version mismatch. Required protocol version is 2.0.  Received version was 1.5-OpenSSH_6.6.1p1.

ssh(centos7) 相关命令

#列出SSH服务
systemctl list-unit-files | grep ssh
# 查看状态
service sshd status
# 重启服务
systemctl restart sshd.service

测试

# -T Do not allocate a tty. 不分配一个tty(终端设备的统称)
ssh -T git@bitbucket.org

参考升级openssh尝试解决

参考
CentOS6下升级OpenSSH至7.1
no matching cipher found
尽快升级!OpenSSH 曝远程代码执行漏洞(CVE-2016-10009)
openssl官网
openssh官网

发表评论 登录

Top