[Linux] 解决secureCRT 登录 ubuntu20.04报错 No compatible key exchange method. The server supports these methods
2023-02-18 15:36:39 时间
新装的ubuntu 20.04系统,这个时候使用老版的secureCRT连接报错
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
通过web管理终端登录系统
编辑/etc/ssh/sshd_config
在最下面新增
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
重启系统
这个时候客户端就能登录了
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
相关文章
- C#11 file关键字
- Linux 命令(219)—— nstat 命令
- Linux 命令(220)—— ipcalc 命令
- Linux 命令(221)—— poweroff 命令
- Linux 命令(222)—— halt 命令
- Linux 命令(223)—— reboot 命令
- Linux 命令(224)—— ctrlaltdel 命令
- Linux 命令(225)—— printf 命令
- Linux 命令(226)—— exec 命令(builtin)
- Linux 命令(227)—— history 命令(builtin)
- 嵌入式:堆栈寻址、相对寻址与ARM指令总结
- C++中你不知道的namespace和using的用法
- Golang数据结构之Interface
- 我开源了一个Go学习仓库|笔记预览
- Go语言知识查漏补缺|基本数据类型
- Go 源码解读|如何用好 errors 库的 errors.Is() 与 errors.As() 方法
- 使用 Go HTTP 框架 Hertz 进行 JWT 认证
- 玩转 Go 生态|Hertz WebSocket 扩展简析
- trzsz ( trz / tsz ) 是兼容 tmux 的 rz / sz,js 和 go 版发布 1.0 正式版。
- Linux 网卡的路由和网关