Reputation:
How to execute a command with SSH in WinSCP and exit without interrupting the command ?
I just do not want to wait for command to end, because it take to many hours. And after i will execute the command i want to close the winscp but the command to be running on server. Is this possible, how to do this ?
Upvotes: 1
Views: 924
Reputation: 1015
You can try using a screen
session.
In general to obtain such a behavior you should call a remote command like this:
ssh root@remoteserver screen -d -m ./somescript
I don't know if it's implemented in WinSCP options but for sure you can fire a custom command.
Upvotes: 2