What's the most seamless way to work over ssh on OSX?

0

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?

dsp_099

Posted 2013-06-14T21:27:36.483

Reputation: 193

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 – 2013-06-14T21:31:32.873

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 – 2013-06-14T21:35:00.590

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 – 2013-06-14T21:37:51.853

1

Another option I've just found is https://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 – 2013-06-14T21:45:27.627

1vim (local instance) can edit over ssh – demure – 2013-06-14T21:46:52.543

@therefromhere, it seems to be what I need but is missing lua: configure: error: Need a Lua toolchain with matching versions ('lua' library and 'lua' and 'luac' programs) – dsp_099 – 2013-06-14T21:57:31.863

See also http://stackoverflow.com/questions/15958056/how-to-use-sublime-over-ssh

– therefromhere – 2013-06-14T22:09:36.853

Answers

0

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

therefromhere

Posted 2013-06-14T21:27:36.483

Reputation: 7 294

This looks interesting, but my ping is about ~50-100ms. Why is that relevant for a one-way save? – dsp_099 – 2013-06-14T21:38:55.853

Because your editor might hang while it waits for the save to finish, also searching might be painful. Give it a go though. – therefromhere – 2013-06-14T21:39:38.107