user971637
user971637

Reputation:

run SSH command and exit from WinSCP without interrupting the command

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

Answers (1)

Zegar
Zegar

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

Related Questions