SSHFS Installation




Step 1

[root@local~]# yum install yum install fuse-sshfs

Install sshfs via yum.

[root@local~]# sshfs sshfs hostname: mountpoint
Or
[root@local~]# sshfs root@192.168.1.2:/ /mnt/server2
Or
[root@local~]# sshfs -p 22 root@192.168.1.2:/ /mnt/server2

Simply to sshfs network mount the root "/" of other server.
P.S. you can set SSH without password with rsa key -- Click this

[root@local~]# df -h /dev/hda1 36G 15G 20G 43% / tmpfs 752M 0 752M 0% /dev/shm sshfs#192.168.1.2:/ 1000G 0 1000G 0% /mnt/server2

You can see "sshfs#" in the filesystem now.

[root@local~]# umount /mnt/server2
Or
[root@local~]# fusermount -u /mnt/server2

This is Un-mount command.



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.