Skip to content

Month: May 2013

How to mount a remote directory in Linux using sshfs

Step1: Installing Package

On Ubuntu/Debain

apt-get install build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev comerr-dev libfuse2 libidn11-dev libkadm55 libkrb5-dev libldap2-dev libselinux1-dev libsepol1-dev pkg-config fuse-utils sshfs

If you get any errors just remove the package that gave the error. In my case I had to remove  libkadm55.

Step2: Once the packages are installed we have to create a mount point and mount our  server data using sshfs command, for which we require  username/password. Here are my details for this task.