not a valid RSA private key file

691 阅读1分钟

今天遇到了这个问题,把解决方法记录下来

把~/.ssh/id_rsa文件,转一下

ssh-keygen -p -m PEM -f ~/.ssh/id_rsa