Table of Contents
Background
Recently I found myself frequently editing files locally (with some nice IDE/ text editor) and then having to re-upload them to a destination server.
And…. one day I searched for “SSH filesystem” through Google, which was so kind to return me the following result:
This was my first touch to sshfs, which seemed to me very HANDY tool.
Now let’s get the quick and dirty part:
Install SSHFS
Installation is simple and is made on your “client” – usually your laptop/desktop machine:
# OpenSuse zypper install sshfs # Debian apt-get install sshfs # Fedora yum install fuse-sshfs
USE SSHFS
# Mount my scripts directory sshfs root@blog.gryzli.info:/root/scripts blog.gryzli.info_scripts/ # Mount my scripts directory, by using custom SSH Port - 1234 sshfs -p 1234 root@blog.gryzli.info:/root/scripts blog.gryzli.info_scripts/