How to send input to a console/CLI program running on remote host using bash?

后端 未结 0 1032
臣服心动
臣服心动 2021-01-17 05:23

I have a script that I normally launch using the following syntax:

ssh -Yq user@host "xterm -e \'. /home/user/bin/prog1 $arg1;prog2\'"
相关标签:
回答
  • 消灭零回复
提交回复
热议问题