How to elegantly exit a broken SSH connection in your shell
If you happen to always create a new shell and close the broken one, you must like this. > in the case where you have a bad connection and the shell is unresponsive, hit the Enter key, then type ~. and ssh should immediately close and return you to your command prompt. From [this answer](https://superuser.com/a/1251011). Very good to know.Created: 2023-12-28 03:37:48, Updated: 2023-12-28 03:37:48, ID: ce70ee46-0192-4511-a743-6f3456a30ea2