Access Remote File System through SSH

SSH (Secure Shell) is a network protocol that allows secure communication between two network devices. Normally, we use ssh to access Linux and Unix based system shell remotely. But we can also use ssh to mount remote machine file system on local machine. For that you need to install SSHFS packaged on your machine. SSHFS is a filesystem client based on the SSH File Transfer Protocol.

Install sshfs via YUM,

# yum install sshfs -y

Or install sshfs via APT,

# apt-get install sshfs

If you want to mount /root partition of server then,
First create a mount point

# mkdir /mnt/root

Then run sshfs as,

# sshfs root@ /mnt/root

Published by

Coss India

Coss India

Founded in 2004, COSS is an ISO 9001:2008 certified a global IT training and company.


Leave a Reply

Fill out the form to book consultation

Select service*
Full name*

Red Hat Learning Subscription

Please fill out the below form to know more about RHLS subscription.

Fill in the form to watch the on-demand webinar