ssh shell stuck

If your ssh session is stuck, instead of closing the shell's tab you can do following in sequence:


press enter press the tilde key ~press the dot key .