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

누군가 내가 뭘 망쳤는지 말해줬으면 좋겠어

ベストアンサー1

おすすめ記事