Ssh session can be terminated within working window if there is some trouble on ssh server. Depending on the nature of the problem there is different way to do this:
- If the server is not reachable ssh can be managed by regular shell keystroke like Ctrl-C or Ctrl-Z.
- If the terminal was already allocated through ssh channel it can be managed by ~ commands like ~^Z or ~.
However there are certain problems when ssh is able to connect, but terminal is not able to be allocated and thus ssh client just hang up waiting and will never exit, but also does not react to Ctrl-C or Ctrl-Z keystroke.
Two questions:
- Does that seem to be the bug to be filed?
- Is there any way to manage ssh client in that interim state without creating other window to kill it?