Another tip:
An ssh session's escape sequence is "<Enter><tilde>", which if you refer as "<X>", you can do the following:
1. Kill an unresponsive ssh session: <X><period>.
2. Enter an ssh command line, to open new forwarding ports among others: <X><C> Then enter <question-mark> for help.