For those of us who commonly use SSH through the terminal in Linux, it can be extremely useful to want to escape out and work on your local machine for a bit. Most people think you have to create a new terminal session and that it is not possible to back out of an SSH session once it is connected. Here's how to do it!
When at the start of a new line, press return. Next, press the ~ key, which is the escape character in Linux. Now, hit Ctrl-Z, and your SSH session should have been suspended. To return, simply type the command 'fg' and press return. Just like that, you have suspended an SSH session and re-entered it!





