If you find yourself with remote development environments, but prefer working on your local mac, you may find some joy with mounting the remote filesystem over ssh. This way you can access it as if it were a native set of files.
This is the successor to the MacFuse software that allowed this in the past. The steps I followed are:
- Download the package: https://github.com/osxfuse/osxfuse/downloads
- Install the package.
- Restart your computer as recommended.
brew install sshfs
Mounting a Remote System
First create a location for your mount, I placed mine in my default development directory:
mkdir -pv ~/development/sshfs-mount
Assuming you have your ssh keys set up already it will be a simple matter of running:
sshfs your.remote.system.com:/ ~/development/sshfs-mount
Of course replacing
your.remote.system.com with, well, your remote system. You can mount a specific folder after the
:. The above mounts the root directory, while leaving it off mounts the home directory.