Escaping a Frozen SSH Session

If you use SSH regularly, you’ve probably seen this: you’re happily connected to a remote server, then you close your laptop or lose your network connection. When you open it again, your terminal looks stuck. You press keys, nothing happens, and eventually you get something like:

client_loop: send disconnect: Broken pipe

Until that timeout kicks in, the session feels “locked” and you can’t type anything useful.

Fortunately, there are a few simple tricks to escape frozen SSH sessions without waiting around.

Use SSH’s Built-In Escape Sequences

OpenSSH has a special escape character: ~ (tilde). It only works if … Read the rest

Remote Connections to a Raspberry Pi

In my last post I wrote about the Raspberry Pi Monitor and how it is a great solution for working with your Raspberry Pi. However, as great as the Pi Monitor is sometimes it is a bit of overkill or too big to carry around which got me to thinking about other ways to access you Pi.

Why would you want to choose one of the following? Well, they require little or no extra hardware, are cheap to implement and run, and have the added benefit of the possibility of remote access.

Here are three other methods which you might … Read the rest