Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.