So you started a process on a remote server. The job is now running in an SSH window and is taking longer than you thought it would. If you close the SSH window, it will kill the process. There is a way by which you can close the SSH window by sending the process to background.
Go to the window where the process is running and type the following commands
> CTRL+Z > bg
To bring the process back to foreground, use the commands job and fg
Get a list of all the background jobs and then pass the job number to fg
> jobs > fg [job num]
This works well on Fedora, RedHat and CentOS.