SSH Server and stdin

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
o_robert
Posts: 5
Joined: Tue 14 Aug 2012 08:42

SSH Server and stdin

Post by o_robert » Sat 12 Mar 2022 07:48

Hi,

How can I program stdin in ssh server.
I can't use sftp, I can only run a command like "cat file | ssh user@ip "cat - > file" (in a typical ssh server).

Robert

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

Re: SSH Server and stdin

Post by Dimon » Tue 22 Mar 2022 15:25

Hi,
For commands execution you can use the TScSSHShell component.
You can look at the example of using command line in the Shell tab of the SSHClientApp demo.

Post Reply