Page 1 of 1

SSH Server and stdin

Posted: Sat 12 Mar 2022 07:48
by o_robert
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

Re: SSH Server and stdin

Posted: Tue 22 Mar 2022 15:25
by Dimon
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.