Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load id_rsa as a RSA1 public key

Tags:

ssh

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?

like image 291
Haissam Abdul Malak Avatar asked Nov 28 '12 13:11

Haissam Abdul Malak


2 Answers

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)

like image 60
zeekvfu Avatar answered Nov 15 '22 12:11

zeekvfu


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

like image 20
rynop Avatar answered Nov 15 '22 13:11

rynop