CentOS 6.5 - Setup SSHFS

# Enable the EPEL REPO if you haven't already
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

# Install the necessary packages
sudo yum install fuse sshfs -y
sudo modprobe fuse

# add modprobe fuse to the startup with rc.local to make sure the FUSE module is loaded upon a reboot
NEW_CONTENT="modprobe fuse"
FILEPATH="/etc/rc.local"
echo "`sudo cat $FILEPATH`
`echo $NEW_CONTENT`" | sudo tee $FILEPATH

References

No comments:

Post a Comment