LinuxCommandLibrary

sshfs

sshfs

TLDR

Mount remote directory

$ sshfs [username]@[remote_host]:[remote_directory] [mountpoint]
copy


Unmount remote directory
$ umount [mountpoint]
copy


Mount remote directory from server with specific port
$ sshfs [username]@[remote_host]:[remote_directory] -p [2222]
copy


Use compression
$ sshfs [username]@[remote_host]:[remote_directory] -C
copy


Follow symbolic links
$ sshfs -o follow_symlinks [username]@[remote_host]:[remote_directory] [mountpoint]
copy

Copied to clipboard