if the user get’s this error message:
(recommended to run this one-liner on server AND client while debugging ssh connection problems)
lsb_release -d; # tested on (server and client) Description: Debian GNU/Linux 11 (bullseye) less /var/log/auth.log May 23 14:37:03 SshServer sshd[2233]: Connection closed by authenticating user username 192.168.0.69 port 47382 [preauth] May 23 14:37:15 SshServer sshd[2236]: Connection closed by authenticating user username 192.168.0.69 port 47384 [preauth] May 23 14:38:06 SshServer sshd[2244]: Connection closed by authenticating user username 192.168.0.69 port 47386 [preauth] May 23 14:38:15 SshServer sshd[2247]: Connection closed by authenticating user username 192.168.0.69 port 47388 [preauth] ...
why? why? why?:
it’s not enough to set in on SshServer:
vim /etc/ssh/sshd_config PasswordAuthentication yes
also had to set:
PubkeyAuthentication no
and restart ssh service:
service ssh restart
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!
