What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.13
How are you able to access your server: Other(?)
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
Hi
I’ve installed Yunohost like i did on other VPS servers. All went well and i was able to install and run an app in a docker container with the Redirect app as a reverse proxy
Since the beginning i was able to SSH from a VPS to the new one using password authentication. Then i wanted to SSH using only pubkey. It was ok until something went wrong (of course i can’t find what i did to put me here) and now i’m stuck by ending with an error message :
...
debug1: Found key in /home/chris/.ssh/known_hosts:11
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/chris/.ssh/id_rsa RSA SHA256:###
debug1: Will attempt key: /home/chris/.ssh/id_ecdsa
debug1: Will attempt key: /home/chris/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/chris/.ssh/id_ed25519
debug1: Will attempt key: /home/chris/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/chris/.ssh/id_xmss
debug1: Will attempt key: /home/chris/.ssh/id_dsa
debug2: pubkey_prepare: done
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com,ssh-dss,ssh-rsa,rsa-sha2-256,rsa-sha2-512>
debug1: kex_input_ext_info: publickey-hostbound@openssh.com=<0>
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/chris/.ssh/id_rsa RSA SHA256:###
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/chris/.ssh/id_ecdsa
debug1: Trying private key: /home/chris/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/chris/.ssh/id_ed25519
debug1: Trying private key: /home/chris/.ssh/id_ed25519_sk
debug1: Trying private key: /home/chris/.ssh/id_xmss
debug1: Trying private key: /home/chris/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
user@newvps's password:
debug2: we sent a password packet, wait for reply
Received disconnect from ::1 port 22222:2: Too many authentication failures
Disconnected from ::1 port 22222
I have my id_rsa.pub sent to new VPS, SSH compatibility is set to “intermediate”, Password authentication is set to yes
I’ve tried to regenerate SSH configuration from the command line but no change.
I did not see any attribute in the LDAP that could explain why my user is blocked
I’ve tried to revert back the old configuration of SSH (the one from this morning) but still get the error
Is my user locked ?
Any tip or advice are welcome
Share relevant logs or error messages
N/A