Thank you so much for the reply. Appreciate your help on this.
This should work:
sh -c "command &"
How to run remote command as a background process. When I try to run a command as background process using & symbol, I got an error message "; echo "WinSCP: this is end-of-file:$?"'" and the connection got closed.
Can anyone please suggest why?