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
[email protected]'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.