无法将id_rsa加载为RSA1公钥

Hai*_*lak 37 ssh

我在Windows 7 64位上使用cygwin,我正在尝试 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
Run Code Online (Sandbox Code Playgroud)

公钥是使用生成的ssh-keygen -t rsa,公钥已添加到authorized_keys文件中.

任何线索?

zee*_*vfu 27

简而言之,它并不表示错误.这是正常的.

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


ryn*_*nop 5

如评论中所述,此错误是可以的.

你检查过/etc/hosts.deny了吗?我的猜测是你有一个sshd: x.x.x.x条目