1
4

2 回答 2

0
debug3: send_pubkey_test 
debug2: we sent a publickey packet, wait for reply 
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/git/.ssh/id_dsa 
debug3: no such identity: /home/git/.ssh/id_dsa 

没有这样的身份 - 就是这样

http://inderpreetsingh.com/2011/08/04/ssh-privatepublic-key-auth-not-working/

http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/

于 2012-09-06T13:50:27.767 回答
0

在一个终端中,在 A 上,在更高端口上以调试模式启动 sshd 服务器:

/usr/sbin/sshd -d -e -p1234

然后,在另一个终端,从 B,连接到

ssh -p 1234 192.168.16.14

sshd 的日志将打印在屏幕上,您很可能会看到它不起作用的原因。

于 2013-11-01T11:43:04.030 回答