无法加载id_rsa作为RSA1公钥(Could not load id_rsa as a RSA1

2019-08-03 07:15发布

我使用的是Windows上的cygwin 7 64位和我想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文件。

任何线索?

Answer 1:

不久上讲,它并不表示一个错误。 这是正常的。

你可以在这里引用我的回答:
尝试使用RSA密钥SSH到EC2,获取:不正确RSA1标识...权限被拒绝(公钥)



Answer 2:

正如评论指出,这种错误是确定。

你检查的/etc/hosts.deny? 我的猜测是,你有一个sshd: xxxx在那里进入



Answer 3:

其实,我明白了为什么我得到了同样的错误,是因为sshd的不是VM服务器我试图连接到:)运行它固定的概率为我上运行的原因。



文章来源: Could not load id_rsa as a RSA1 public key
标签: ssh