When on the server i can login to localhost using:
ssh localhost
username@localhost's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-40-generic x86_64)
However when I try and login remotely i get this:
ssh 1.2.3.4 -l username
username@1.2.3.4's password:
Permission denied, please try again.
The password is absolutely correct.
Edit: I added the verbosity to the client login and this is the output after entering the password
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
sshd? – Bodo May 04 '22 at 15:10ssh -v ...to get more information. – waltinator May 04 '22 at 15:27/var/log/auth.logor/var/log/secureplease add the lines tagged with ssh to your question. If it doesn't have this file please check other recently modified files in/var/logfor entries tagged with ssh – Chris Davies May 04 '22 at 16:18/etc/ssh/sshd_configat all? – Chris Davies May 06 '22 at 17:19