Saturday, November 17, 2012

Mounting a Folder Via SSH on Linux

So you have SSH (Secure Shell) access but can not work directly with them but through a an SSH client which is not probably the most productive way to do it.

Well, you came to the right place if you are a Linux desktop user. Here's how.

1. Install sshfs. A utility that wraps all of SSH capabilities and transform to a virtual filesystem.
For Fedora, Centos RHEL,
yum install sshfs
For Ubuntu / Debian,
apt-get sshfs

2. Mount your folder
mkdir /your/local/mount/path
sshfs -p <port> <user>@:/your/remote/path /your/local/mount/path
As simple as that. Enjoy!
  • Related Links Widget for Blogspot

1 comment:

garri said...

I find tunneling SMB Mount through SSH on Mac OSX make Sublime Text 2 much user friendly i.e. CMD + P works