【发布时间】:2022-08-22 12:14:08
【问题描述】:
我正在开发一些应用程序,这些应用程序需要比我的本地机器更多的功能。所以我想在远程机器上运行它们。这一切都相当简单,运行如下:1)将当前目录中的文件rsync到某个位置的远程机器,2)ssh到远程机器运行命令。在某些情况下,如果远程命令生成一个文件,我也需要在本地将其拉回。
对我来说,这就像一组常见的任务,应该是一个很好的命令,将它们放在一起。说类似
## Run make on the the files in the current directory on big-server-box
rrun big-server-box make
## Do the same, but pull output.txt back afterward
rrun big-server-box -f output.txt make
## Open a shell, having synced files first
rrun big-server-box --shell
有没有什么工具可以做到这一点?
标签: linux remote-server