Disconnect a stuck ssh session 09 Dec 2022 Press the following keys: Enter, ~, . See man 1 ssh, section ESCAPE CHARACTERS