2

Is it possible to have a remote machine run a command, but redirect all reads and writes to a local machine.

Example: I have a bunch of scripts in folder 'project'. When 'make simulate' is run in 'project' a heavy simulation is run according to some input files and when done, output files are saved in the same folder. All this happens on my laptop, which is limited by battery and isn't as high-end as my desktop. Is there a way to have the simulation run on the desktop (for example via ssh) without going through the hassle of first copying the folder to the desktop, run the simulation there and then copy it all back? All relevant programs must of course be installed on the desktop.

nijoakim
  • 281
  • 2
  • 10

1 Answers1

3

I think that the easiest solution is to "see" the local file system (or a part of it) on the server. For instance, you can use SSHFS.

vinc17
  • 12,174