Or screen it.
login to ssh, type "screen" , run your commands
If you get disconnected then login and reattach to the screen "screen -r".
You can have multiple screens open at any one time, if so then you need to specify the number when reattaching "screen -r ###" , you can get a list of the numbers with "screen -ls", the man pages are well worth a read on this one its very handy.
Not always installed by default but availiable for pretty much all distros, "yum install screen" or whatever.
|