Locked myself out after changing to port 202
-
Hi,
I locked myself out of SSH after changing to port 202 (I know your docs say to be sure not to do that...)!
I use OVHCloud and can access in rescue mode.
Any thoughts on how I can approach fixing this?
I'll be using rescue mode for the first time. I can mount any of the partitions, but I can't see the sshd_config file I edited (I suppose because I'm logged in as a different rescue user).
I'm stuck after that.
- list item
-
Not sure how exactly the OVH rescue mode works, but maybe you have to mount the original root filesystem first?
Do you have any extra firewall setup? The default one on Cloudron will allow port 202, so if you have another firewall via OVH or so, maybe open that port? Otherwise if you can reach the ssh server itself, but can't login, you can also try to enable remote SSH support for us https://docs.cloudron.io/support/#remote-support and send us mail with your IP address to support@cloudron.io and we can see if we can fix something.
Furher some server providers also offer VNC style terminal to the system, that usually works without SSH so might be an option for you if OVH provides this.
-