- SSHFS ( SSH filesystem) is a filesystem client to mount and interact with files and directories, located in remote server .
- The client interact with the remote filesytem via SSH File transfer protocol for file access, file transfer and file management.
Here are the steps on how to
enable SSHFS in VPS
First of all , download and
install fuse from http://fuse.sourceforge.net/
# tar –xzvf
fuse-2.8.7.tar.gz
# cd fuse-2.8.7
# ./configure
# make
# make install
# echo '/usr/local/lib' >
/etc/ld.so.conf.d/fuse.conf
# ldconfig
Grab SSHFS from http://fuse.sourceforge.net/sshfs.html
and wget the stable latest version:
# tar –xvzf
sshfs-fuse-2.4.tar.gz
# cd sshfs-fuse-2.4
# yum install glib2-devel
# ./configure
# make
# make install
This is how the fuse and
SSHFS are installed in the container. After finishing this, enable fuse access
to the container from the Hardware node.
Note : HN refers to the
hardware node and $VEID refers to corresponding container ID
Do the steps in the Hardware
node:
( HN ) #
vzctl set $VEID --devices c:10:229:rw –save
( HN )
# vzctl exec $ VEID mknod /dev/fuse c 10 229
No comments:
Post a Comment