Mount sFTP to Ubuntu as Local disk by sshfs

Mount sFTP to Ubuntu as Local disk by sshfs

ubuntu

 

Step 1: Install sshfs package which used to mount sFTP to Ubuntu Server.

apt-get install sshfs

Step 2:  Create local folder which we use to mount to remote disk.

mkdir /mnt/remotedisk

 

Step 3: Mount Remote disk to local folder and now we use “df -h” , we can see Remote disk as our local folder now.

sshfs /mnt/remotedisk/ root@192.168.0.112:/opt/disk

 

That’s all. Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>