ssh报错整理
2025年7月9日小于 1 分钟
报错一
error: kex_protocol_error: type 30 seq 1 [preauth]
sshd -T | grep kex
出现如下报错:可以考虑升级客户端
报错二
Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR
一点踩坑记录:
部分软件(如weterm、某些版本的vscode)的ssh功能在使用本地私钥时可能会报
Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR
解决方式-网上的办法是转格式
To fix this error, we can convert the private key file from OpenSSH private key format to PEM format.
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa
报错三
reprocess config line 133: Deprecated option RSAAuthentication
reprocess配置行133:已弃用的选项RSAAuthentication
centos7.4 以后就弃用了,使用ssh二代
reprocess配置行133:已弃用的选项RSAAuthentication