无法将 id_rsa 作为 RSA1 公钥加载 [英] Could not load id_rsa as a RSA1 public key
本文介绍了无法将 id_rsa 作为 RSA1 公钥加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Windows 7 64 位上使用 cygwin,我正在尝试 ssh -vvv localhost
I'm using cygwin on Windows 7 64 bit and I'm trying to ssh -vvv localhost
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/habdulmalak/.ssh/id_rsa" as a RSA1 public key
使用ssh-keygen -t rsa
生成公钥,并将公钥添加到authorized_keys 文件中.
The public key was generated using ssh-keygen -t rsa
and the public key was added to the authorized_keys file.
有什么线索吗?
推荐答案
简而言之,它并不表示错误.这是正常的.
Shortly speaking, it doesn't indicate an error. It's normal.
你可以在这里参考我的回答:
尝试使用 RSA 密钥通过 SSH 连接到 EC2,获取:错误的 RSA1 标识符...权限被拒绝(公钥)
You can reference my answer here:
Trying to use RSA Keys to SSH into EC2, Getting: Incorrect RSA1 identifier... permission denied (public key)
这篇关于无法将 id_rsa 作为 RSA1 公钥加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文