Photographs of me about to edit the firewall on my webserver knowing that any mistake could lock me out of SSH until the technicians in Germany arrive at the datacenter on Monday (2024)
I am glad I have not kept a count of how many times I have broken ssh in my life. My reaction to this is visceral apprehension. "I've triple checked it, what could go wrong?"
Advice: backup the file and set a cron to revert to the backup in an hour. If it still works, cancel the cron.
ouch no backup way in? most hosts have a serial console or rescue image or something you can boot to to fix this kind of thing. onsite technicians fixing software problems is very 90s/early 2000s