How can one send commands to the "inner" ssh session?
- by iconoclast
Picture a scenario where I'm logged into a server (which we'll call "Wallace") from my local machine, and from there I ssh into another server (which we'll call "Gromit"):
laptop ---ssh---> Wallace ---ssh---> Gromit
Then the ssh session from Wallace to Gromit hangs, and I want to kill it. If I enter ~. to kill ssh, it kills the ssh…