---
title: "Kill unresponsive SSH session"
description: "Occasionally an SSH session may become unresponsive. If I put my laptop to sleep this happens fairly often. Rather than killing the tab you can use SSH Escape Characters to kill the session"
canonical: https://oozou.com/til/kill-unresponsive-ssh-session-65
locale: en
date: 2020-10-13
topic: shell
---

# Kill unresponsive SSH session

> Occasionally an SSH session may become unresponsive. If I put my laptop to sleep this happens fairly often. Rather than killing the tab you can use SSH Escape Characters to kill the session

Published: 2020-10-13 · Topic: [shell](https://oozou.com/til-topics/shell) ([markdown](https://oozou.com/til-topics/shell.md))

Occasionally an SSH session may become unresponsive. If I put my laptop to sleep this happens fairly often. Rather than killing the tab you can use SSH Escape Characters to kill the session

```shell
$ ~.
```

To view all escape characters check *man ssh* and search for ESCAPE CHARACTERS *$ /ESCAPE CHARACTERS*

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
