Global Linux Knowledge Base…
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 192.168.0.1 server then,
First create a mount point
# mkdir /mnt/root
Then run sshfs as,
# sshfs root@192.168.0.1:/root /mnt/root
| Print article | This entry was posted by Dhaval Soni on August 13, 2011 at 5:06 AM, and is filed under CentOS, Fedora, Linux OS, Red Hat, Servers, SSH Server, SUSE Linux. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |