Killing an Unresponsive SSH Connection in Linux

While working with a remote connection, it’s quite common to get into a situation where you are not able to interact with the remote system.

And it is a frustrating moment when a remote SSH connection hangs after several minutes of unused connection, or perhaps even due to internet fluctuations.

There might be many other reasons for the above cause, but it’s quite easy to kill an unresponsive SSH connection without killing the current shell.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis