ssh -f

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

ssh -f

Post by scw2hi » Tue 20 Mar 2012 14:32

Hi,

how to execute a command like this?

ssh -f "gedit &"

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 22 Mar 2012 10:25

To solve the problem use the ExecuteCommand method of the TScSSHShell component. ExecuteCommand only sends one command to SSH server, SSH server executes this command, returns a result and closes the connection.

scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

My solution

Post by scw2hi » Mon 16 Apr 2012 06:24

Hi,

if someone has the same problem try it like:

nohup ; command

that worked for me.

Post Reply