SSH prompts “received disconnect from 192.168.2.11:2: too many authentication failures for root”
method 1: when logging in SSH, you can add the parameter - O pubkeyauthentication = no
, and then log in
method 2: modify the SSH configuration file and increase the verification times of SSH login
MaxAuthTries 20
SSH configuration file path
/etc/sshd under mac_ config
/etc/SSH/sshd under Linux_ Config
Modify and restart the SSH service