openssh 不断要求输入密码,即使密码正确(Ubuntu 和 Debian)

openssh 不断要求输入密码,即使密码正确(Ubuntu 和 Debian)

我按照本指南在我的 Ubuntu 和 Debian 电脑上安装了 openssh 服务器:https://www.cyberciti.biz/faq/ubuntu-linux-install-openssh-server/之前他们工作正常,但几周后他们继续要求输入密码并在几次尝试后终止,我使用 ssh -vv root@ip 进行调试,他们给了我这些信息:

debug1: Host '192.168.6.17' is known and matches the RSA host key.
debug1: Found key in /home/group/.ssh/known_hosts:4
debug2: bits set: 2081/4096
debug2: set_newkeys: mode 1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey after 4294967296 blocks
debug2: key: /home/group/.ssh/id_rsa ((nil))
debug2: key: /home/group/.ssh/id_dsa ((nil))
debug2: key: /home/group/.ssh/id_ecdsa ((nil))
debug2: key: /home/group/.ssh/id_ed25519 ((nil))
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/group/.ssh/id_rsa
debug1: Trying private key: /home/group/.ssh/id_dsa
debug1: Trying private key: /home/group/.ssh/id_ecdsa
debug1: Trying private key: /home/group/.ssh/id_ed25519
debug2: we did not send a packet, disable method
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug1: Authentications that can continue: publickey,keyboard-interactive,password
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug1: Authentications that can continue: publickey,keyboard-interactive,password
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
Connection closed by 192.168.6.17 port 22

希望有人能告诉我我搞砸了什么

相关内容