News for hackers. Stuff that matters.
Re:SSH tips and tricks by throw0101a on Wednesday August 17, 2022 @09:24AM (#32496017)
>> "Enter" then ~ then . will kill a hung SSH connection

> is this the same as hitting CTRL-D?

No. ^d is a character that is sent to the remote shell (bash, zsh, etc) to tell it to exit. ~. is something for the SSH client to tell it to cut the connect if (e.g.) the shell has hung.

Thing of it like working at different OSI layers: ^d is HTTP, while ~. is like TCP or IP.

There are no comments on this comment yet.