Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a remote SSH server that holds the exe file (at /usr/bin/linux). I want to run the exe files from the server on images on my local hosts, i.e. add me@remote:usr/bin/linux to my local path. How can I do that?

share|improve this question

migrated from Sep 24 '12 at 18:59

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

If your system has it installed, you can use sshfs to make the programs appear to be local:

mkdir ${HOME}/linux-progs
sshfs me@remote:/usr/bin/linux ${HOME}/linux-progs

When you're done with the remote filesystem, you run fusermount -u ${HOME}/linux-progs to unmount the remote file system.

share|improve this answer

Running them locally would mean you'd have to copy them over one way or another (on the fly, once, periodically etc.). Another option would be to pipe the input and output back and forth, then the files would be executed remotely. Which option is more suitable depends on the size of your input etc. If you just want to open a remote session with X (or something along those lines) a simple script in your /urs/bin/ and some ssh keys are probably the way to go.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .