• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Killing a hung SSH connectionEdit

Created 7/11/2022, updated 8/26/2023

As per this StackExchange tip, you can kill a frozen/hung SSH session with ~. (note that you may have to press Enter first). This can be useful when the connection itself is dead and so tricks like Control-C have no effect.

See also

  • SSH escape sequences
  • wiki
  • ssh
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).