38

How to go about closing a stalled screen tab (the machine is no longer reachable) ?

65

try to kill command.

  1. select stalled window ( C-a :select <stalled window number> )
  2. send kill command ( C-a :kill )
  • 1
    at least for my screen version, I get a message that :kill is ambiguous. :kill-window works, though. – Steve Kroon May 30 '16 at 17:41
  • 7
    C-a, k also works – user35581 Jun 16 '16 at 17:24
2

Assuming you are using the OpenSSH client to connect, you can type Enter ~ . to close the connection.

To list the other SSH client escape commands, type Enter ~ ? when connected.

  • 1
    Why the down vote? This addresses the "machine is no longer reachable" aspect of the question directly. Sure you can do other things to close a remote connection (eg: shut down your computer), but that doesn't directly address the stalled remote connection. – Tyson Nov 2 '15 at 20:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.