SSHFS - markhowellsmead/helpers GitHub Wiki
This information is for OSX only.
Install OSX Fuse
Bash shortcuts
Add the shortcut to your ~/.bash_profile file. Then run source ~/.bash_profile
to update it. Then execute dev
on the command line to mount your server as a drive.
Example shortcuts
Basic version
alias dev='sudo sshfs -o defer_permissions,noappledouble,IdentityFile=~/.ssh/id_rsa user@dev-server:/ ~/dev-server'
Version with port
alias dev='sudo sshfs -o defer_permissions,noappledouble,IdentityFile=~/.ssh/id_rsa user@dev-server:/ ~/dev-server -p2121'