Hi
Thanks for your quick reply.
I had been using that. Let me clarify it.
I firstly logon on the Host A by the tSSH component, then executed the command 'ssh -l root -p 1035 -L 11016:127.0.0.1:5432 -N -g -f X.X.X.X' to create ssh port tunnel, after that, it was expected that I would get prompted to type pwd or others, anyway, I need know when it gets returned and what content.
make such question generic:
how to execute interactive commands in tSSH component?