Funny: I typo'd my SSH port and locked myself out for 6 hours
I typo'd my router's lan ip once. Set it to 192.168.2.255. Took me two hours to figure out why nothing could get a dhcp lease. Ramen was cold by the time I fixed it.
In France we have a saying: "Jamais deux sans trois." Never two without three. I have locked myself out of OVH, Scaleway, and a dedibox. The OVH one was the worst because their rescue mode requires you to acknowledge an email they send to the server admin address, which was on the server. Took a fax to their Paris office to recover. A fax. In 2019.
My provider is one of the local ones in Buenos Aires, no VNC console, no rescue, just a ticket system that answers between 10am and 4pm on business days. I have three layers of fallback ssh configs and I still test them drunk because that's the most realistic threat model for a Saturday night deploy.
Has anyone tried using mosh as a fallback? It runs over UDP and can survive IP changes, but I wonder if it would have helped here since the port was just wrong, not the IP.