Learn a little known feature of SSH known as escape sequences. These hidden sequences allow you to unstick a frozen terminal window, keep a remote SSH session open in the background, and more.
Instructor: [00:00] SSH supports a number of functions through the use of an escape character, which by default is a tilde. Escape sequences are created by using the escape character, followed by another character that comes from a list of supported sequences.
[00:15] One of the most common escape sequences is a tilde-period. Sometimes an SSH connection will become frozen or stuck. If you type tilde-period, it will automatically execute from the frozen terminal window.
[00:29] Another popular escape sequence is a tilde-control-z. Say you wish to keep an SSH connection open, but you don't want to occupy a terminal window. You can issue a tilde-control-z, and that will send the SSH session into the background. When it comes time for you to reconnect to the open SSH connection, type fg enter.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!