Comment by bandie91
6 hours ago
i made `rr` (remote run) for a use-case very similar to this.
it expects the remote fs is mounted under .../ssh/HOSTNAME/ and runs any command in that dir on the remote host. if it is not the root which is mounted, looks up mtab for the remote base directory.
https://codeberg.org/hband/hband-tools/src/branch/master/use...
No comments yet
Contribute on Hacker News ↗