2013-01-17

unsticking ssh

i often move from place to place with my laptop.

sometimes i forget that i’m still logged into a remote site before changing wifi networks. when that happens my ssh session will get stuck. if i do it from an xterm, i can just close it, but if i’m using the real console, there’s not a way to restart.

here is the trick that seems to work.

"enter"~.

that is, hit enter/return, then type tilda, then period.

that’s what works for me to exit the hung ssh connection.

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s