Could not load id_rsa as a RSA1 public key

2019-03-11 15:05发布

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

The public key was generated using ssh-keygen -t rsa and the public key was added to the authorized_keys file.

Any clue?

标签: ssh
3条回答
叼着烟拽天下
2楼-- · 2019-03-11 15:24

Actually, I realized the reason why I was getting the same error was because sshd was not running on the VM server I was trying to connect to :) Running it fixed the prob for me.

查看更多
等我变得足够好
3楼-- · 2019-03-11 15:32

Shortly speaking, it doesn't indicate an error. It's normal.

You can reference my answer here:
Trying to use RSA Keys to SSH into EC2, Getting: Incorrect RSA1 identifier... permission denied (public key)

查看更多
The star\"
4楼-- · 2019-03-11 15:33

As stated in comments, this error is OK.

Did you check /etc/hosts.deny? My guess is you have an sshd: x.x.x.x entry in there

查看更多
登录 后发表回答