Score:0

Terminate ssh session on startup

br flag

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:

  1. If the server is not reachable ssh can be managed by regular shell keystroke like Ctrl-C or Ctrl-Z.
  2. 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:

  1. Does that seem to be the bug to be filed?
  2. Is there any way to manage ssh client in that interim state without creating other window to kill it?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.