Install and using SSHFS to Mount Remote File Systems Over SSH

I noted down here like a small cheat sheet for me can use in future. The SSHFS is very useful while transfer files or remote on some server in short time of period.

Install in Centos 7

sudo yum install sshfs

Install in Ubuntu

sudo apt-get install sshfs

Usage and example

sudo sshfs -o allow_other,default_permissions,IdentityFile=~/.ssh/id_rsa [email protected]:/home/nginx/domains/juzhax/ /mnt/juzhax

Change default port of SSHFS or Non-Standard Port

sshfs -p 3344


Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.