Mostly Unixish
Disown is your friend
Bash builtin disown is a not-so-well known [job control command] http://www.gnu.org/software/bash/manual/html_node/Job-Control-Builtins.html), and yet it's an extremely useful one. So what? You've started a remote ssh session, launched some command which is taking very, very long to