• Welcome to LiuJason's Blog!

[已解决]CentOS8下SSH连接Github卡住|报错debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

Linux笔记 Jason 4 years ago (2020-02-17) 825 Views 0 Comments QR code of this page
文章目录[隐藏]

问题

使用SSH Key连接Github的时候出现卡住的情况,debug后看到如下信息:

解决方案

是加密模式不支持导致的,CentOS8移除了对旧的加密模式支持,因此需要手动开启。
在/etc/ssh/ssh_config中修改,文末添加一行:

Ciphers aes128-ctr,aes192-ctr,aes256-ctr

重试后成功连接:


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/533.html
Like (1)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址