won't work, what should I do to get back to terminal again?
Nothing. Terminate and reconnect
I mean that's what I do, thought there could be something else I could do
Use tmux or screen on the remote host so that when you loose your connection your shell is still there.
Обсуждают сегодня