After changing the ssh port, I can longer log in. (Connection refused)
I added a firewall rule, and still cant login even with firewall disabled. I have verified that the server is listening on the port I specified.
ssh -p 2389 user@IP (Connection refused)
Hi, thank you for the link. I have went over that page, and it appears I have things in order but still have this issue, everything was fine until i changed the port. And I have updated the firewall rules. I decided to uninstall ssh and reinstall, but it is still listening on the the new port i specified. Looks like will have to manually delete any config files after uninstalling. Then reinstall.
Update: After deleting the "/etc/ssh/sshd_config.d/" file, I was able to reinstall ssh-server and achieve a new first time connection on the default port. I just took a snapshot with Timeshift, and will try to change the port again.
1 Like