Public domain
cd /usr/src
wget -c "http://pmoghadam.com/homepage/Pages/Deposit/Source-packages/sshfs-fuse-2.3.tar.gz"
su - install
cd /usr/src
tar xf sshfs-fuse-2.3.tar.gz
cd sshfs-fuse-2.3
./configure --prefix=/usr/ && make
make install DESTDIR=/usr/local/encap/sshfs-fuse-2.3
logout
cd /usr/local/encap/sshfs-fuse-2.3
mv usr/share/man/ usr/
cd /usr/local/encap
chown -R root:root sshfs-fuse-2.3
mkencap sshfs-fuse-2.3
epkg sshfs-fuse-2.3
sshfs -p<port> <username>@<host>:<remote-dir> <local-dir>
fusermount -u <local-dir>
BY: Pejman Moghadam
TAG: ssh, sshfs, epkg
DATE: 2012-02-13 15:43:18