logoalt Hacker News

bandie91today at 9:35 AM0 repliesview on HN

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...