我有一个脚本文件./run_app.sh,其中包含以下内容:
./run_app.sh
ssh -L 8888:localhost:8888 ubuntu@address ./run_website.sh # it should be executed locally
但它试图在远程机器上运行第二行。实际上,我想在我的电脑上运行它。任何的想法?
linux ssh script ubuntu
linux ×1
script ×1
ssh ×1
ubuntu ×1