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:
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
# Mount my scripts directory sshfs firstname.lastname@example.org:/root/scripts blog.gryzli.info_scripts/ # Mount my scripts directory, by using custom SSH Port - 1234 sshfs -p 1234 email@example.com:/root/scripts blog.gryzli.info_scripts/