Remote editing with Sublime Text and sshfs

I was allocated to a big new project and i am required to edit my codes remotely. I’ve always finished a project or two using VIM on remote servers but now i would like to change my old habits and write codes with sublime. This guide will teach you how to use your Linux machine and Sublime Text  to edit your codes remotely.

sshfs (SSH Filesystem)

sshfs mounts and help you edit directories and files on your remote server.

1. First you  need to install sshfs

On Debian, Ubuntu  or Linux Mint

sudo apt-get install sshfs

On RHEL / CentOS

# yum install fuse-sshfs

2. Mount your remote folder to your local directory

 # mkdir -p /mnt/ssh # sshfs kalmario@ /mnt/ssh/ 

3. Open your Sublime and open directory /mnt/ssh


Disclaimer: This method is working great on me because my remote server is just a build away. I’ll try it on a rackspace server which is a continent away from me and post if the lag time is still manageable and not irritating.

Leave a Reply

Your email address will not be published. Required fields are marked *