1
pfitseng 2014-10-21 16:48:11 +08:00 1
密码形式有两种,password和keyboard-interactive,前者能通过保存的密码登录,后者只能通过键盘交互登录。你先试下KbdInteractiveAuthentication yes看看,不行就 ssh -v看输出到底哪里问题。
|
2
ghy459 OP @pfitseng KbdInteractiveAuthentication已改为 yes,但貌似根本就没进行这个类型的验证?
debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /Users/ghy459/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Trying private key: /Users/ghy459/.ssh/id_dsa debug1: No more authentication methods to try. Permission denied (publickey,keyboard-interactive). |
3
pfitseng 2014-10-21 17:35:13 +08:00
ssh -vvv 看看
|
4
ghy459 OP |
5
pfitseng 2014-10-22 11:25:24 +08:00
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Trying private key: /Users/ghy459/.ssh/id_dsa debug3: no such identity: /Users/ghy459/.ssh/id_dsa: No such file or directory debug2: we did not send a packet, disable method debug1: No more authentication methods to try. Permission denied (publickey,keyboard-interactive). |
6
pfitseng 2014-10-22 11:26:04 +08:00
你要么吧本地ssh升级试试,或者重新编译一份,难道编译的时候没把keyboard-interactive编进去?
|