【发布时间】:2021-05-19 10:07:44
【问题描述】:
我正在尝试使用 Ubuntu/Linux 开发带有 ssh 和屏幕的 shell 脚本/bash 脚本。 您能帮我纠正这里的问题吗?
#!/bin/bash
ssh -i keypair.pem -t ubuntu@ec2-address "screen -S teste"; cd 'home'; cd 'Shell'; ./'AWS - teste.sh' "
它不起作用。
【问题讨论】:
标签: bash shell amazon-ec2 ssh gnu-screen