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

There's something just wrong about scp'ing every file you've changed. I normally use Sublime Text 2 - is there an editor or something that can upload files right as they are changed via scp?

If not, is there an efficient way to go about developing remotely?

share|improve this question
    
I use Dropbox to sync files on a remote development machine. Not sure if this is the kind of answer you are looking for though. – Michael Jun 14 '13 at 21:31
    
Thanks for your input michael. Everything has to be encrypted however, and frankly I don't really trust dropbox to keep my stuff safe – dsp_099 Jun 14 '13 at 21:35
    
You can use an encrypted disk image in OS X. The name escapes me at the moment, but you can make it sparse, so takes up less room. – Michael Jun 14 '13 at 21:37
1  
Another option I've just found is code.google.com/p/lsyncd - a daemon that automatically rsyncs a directory when files are changed (using inotify or fsevents), so that's kind of like using Dropbox without Dropbox in the middle, but I know nothing more about it. – therefromhere Jun 14 '13 at 21:45
1  
vim (local instance) can edit over ssh – demure Jun 14 '13 at 21:46

With SSHFS you can mount a remove filesystem via SSH, that's about as seamless as you can get, but you'll need a very low latency connection for it to be useable.

e.g. it's fine for working on a dev server that's in the next room.

http://fuse.sourceforge.net/sshfs.html

share|improve this answer
    
This looks interesting, but my ping is about ~50-100ms. Why is that relevant for a one-way save? – dsp_099 Jun 14 '13 at 21:38
    
Because your editor might hang while it waits for the save to finish, also searching might be painful. Give it a go though. – therefromhere Jun 14 '13 at 21:39

You must log in to answer this question.

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