Ubuntu 16.04
Sponsored Link

Mount with SSHFS2016/07/07

It's possible to mount filesystem on another Host via SSH to use SSHFS.
[1] Install SSHFS.
apt-get -y install sshfs
[2] For example, mount /home/ubuntu on another Host with "ubuntu" user.
# create a directory for mount

mkdir ~/sshmnt
# mount with SSHFS

sshfs ~/sshmnt

ubuntu@'s password:    
# SSH password

df -hT

Filesystem                  Type        Size  Used Avail Use% Mounted on
udev                        devtmpfs    2.0G     0  2.0G   0% /dev
tmpfs                       tmpfs       396M  5.6M  390M   2% /run
/dev/mapper/ubuntu--vg-root ext4         25G  2.5G   22G  11% /
tmpfs                       tmpfs       2.0G     0  2.0G   0% /dev/shm
tmpfs                       tmpfs       5.0M     0  5.0M   0% /run/lock
tmpfs                       tmpfs       2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda1                   ext2        472M  193M  255M  44% /boot
tmpfs                       tmpfs       396M     0  396M   0% /run/user/0      fuse.sshfs   25G  2.5G   22G  11% /home/ubuntu/sshmnt
# just mounted
# for unmount, do like follows

fusermount -u ~/sshmnt
Matched Content