When running long process which requires input (such as rsync/ssh which needs a password) to prevent the process breaking due to timeout or logout, do this..
Start the process in the usual way, then..
CTRL+Z
bg
disown -h
Now you can close the terminal and the process should remain running.