custom ssh port - Unable to read from remote
I have gitea installed from some time now. I'm using custom port 1234 for ssh. So I remember I had to setup some stuff to make it work. I checked the README and I'm still all good. My server has a proper domain main and is hosted in my lan.
Since last update I'm unable to use ssh:// method to clone/push/pull. It used to work.
Here is the output :
git clone --verbose ssh://gitea@domain.com:1234/nouts/wp-commento.git
20:50:08.259697 git.c:439 trace: built-in: git clone --verbose ssh://gitea@domain.com:1234/nouts/wp-commento.git
Clonage dans 'wp-commento'...
20:50:08.262027 run-command.c:663 trace: run_command: unset GIT_DIR; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL -p 1234 gitea@domain.com 'git-upload-pack '\''/nouts/wp-commento.git'\'''
Debian GNU/Linux 9
Received disconnect from 192.168.1.210 port 1234:2: Too many authentication failures
Disconnected from 192.168.1.210 port 1234
fatal: Impossible de lire le dépôt distant.
Veuillez vérifier que vous avez les droits d'accès
et que le dépôt existe
I'm definitely certain I have the correct rights and the repo exists.
From the /var/log/auth.log
I can see git login attempts. (key truncated)
Apr 14 20:50:20 domain sshd[8510]: Connection from 192.168.1.58 port 60796 on 192.168.1.210 port 1234
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:GBvNQRrrEEar0mYXIdvi2K
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:KOqqw0hAgJ3PvacBG4q17
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:sieOPKYH2wZ7xmKNpm1
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:IGUryY9DsEMkQeOPT
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: ED25519 SHA256:g/M55oQ6DKI
Apr 14 20:50:20 domain sshd[8510]: Failed publickey for gitea from 192.168.1.58 port 60796 ssh2: RSA SHA256:mn6I1vj5Mk
Apr 14 20:50:20 domain sshd[8510]: error: maximum authentication attempts exceeded for gitea from 192.168.1.58 port 60796 ssh2 [preauth]
Apr 14 20:50:20 domain sshd[8510]: Disconnecting: Too many authentication failures [preauth]
The key I've setup is actual the second one in the log above.
Where should I look next ?