Open Source Software Shortcut — Escaping SSH With ‘~’

Written By
JK
Juliet Kemp
Sep 28, 2010

“One thing you may not know about SSH is that it has an escape
character: ~. To try it out, hit return (the escape character is
only picked up at he start of a line, so you must make sure you
are) at the console in an active SSH session, then enter ~. Nothing
will show on screen; so far so good. Next, hit Ctrl-Z and the
session will be suspended — handy if you want to check something
on your local box without logging all the way out of SSH. This
trick will also work from within screen, and even from within mutt.
To return to your SSH session, type fg and hit return.”


Complete Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.