Mount Filesystem via SSH
SSHFS stands for Secure SHell
FileSystem. Its a filesystem for
FUSE (Filesystem in Userspace) so its possible for unprivileged user to mount the fs over an SSH connection.
On server-site a running ssh-server which understand SFTP (SSH File Transfer Protocol) is needed.
With the built-in SSH authentication and encryption SSHFS is a safe and convenient way for data transfer across insecure networks (Internet).
Installation (Ubuntu 8.04 LTS)
sudo apt-get install sshfs
Verwendung
1. create mountpoint
mkdir ~/sshfs
2. mount (possible without root privileges)
sshfs user@host:/data/ ~/sshfs
3. umount
fusermount -u /sshfs/
Problems
Connection Timeout
Solution:
ServerAliveInterval 60 # alle 60 Sekunden
you ever mount 1T Dataspace … ignore that