Thein's Logo

How To Exit Hung or Unresponsive SSH Session

Nov 11, 20221 min read
banner post image

If you have a bad SSH connection or your command prompt suddenly becomes unresponsive and hung, hit Enter key and press ~.

  1. Hit Enter key
  2. Press ~.

SSH connection will be closed immediately and return to your normal command prompt.

More readings