Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to terminate SSH session

📅 2014-Mar-03 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ssh ⬩ 📚 Archive

A SSH session gets hung or frozen sometimes. To exit or kill the SSH session and get back to the local shell, press this key sequence: [Enter]~.

That is you press 3 keys in sequence: Enter, then tilde and then period.

Tried with: OpenSSH 5.9p1 and Ubuntu 12.04 LTS

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧