spforsom Posted February 2 Posted February 2 I tried changing the SSH port to something else but got locked out. Looked look port 22 is enforced from somewhere externally. Could you you please help me update my ssh file and ufw rules to default so that I can access using the default port. if possible, I would like to change my ssh port to port 212.
KazVee Posted February 2 Posted February 2 I've escalated this for the attention of Krydos since it's a VPS issue so he'll be able to have a look for you.
Krydos Posted February 2 Posted February 2 It looks like you forgot to update the port inΒ /etc/systemd/system/sockets.target.wants/ssh.socket and then run systemctl daemon-reload before restarting SSH. SSH should now be running on port 212. Let us know if you need help with anything else.
Recommended Posts