SSHFS(1) User Commands SSHFS(1) (NAME) SSHFS - SSH (SYNOPSIS) : sshfs [user@]host:[dir] mountpoint [options] host IPv6 () . : fusermount3 -u mountpoint # Linux umount mountpoint # OS X, FreeBSD (DESCRIPTION) SSHFS SSH ( SFTP) (mount) . SSH SFTP SSHFS - . SSHFS . . -o default_permissions . . -o allow_other . -o default_permissions . SSHFS ( root). (mountpoint) . SSHFS . SSHFS () . sshfs ( ssh ). (OPTIONS) -o opt,[opt...] . SSH sftp(1) ssh_config(5) . -h, - help . -V, --version . -d, --debug (). -p PORT '-o port=PORT' -f . -s (Single- threaded). -C '-o compression=yes' -F ssh_configfile ssh . -1 '-o ssh_protocol=1' -o reconnect . . -o delay_connect . -o sshfs_sync (synchronous). . -o no_readahead . -o sync_readdir (readdir). . -o workaround=LIST (workaround) . Caveats . : rename . renamexdev rename EXDEV EPERM . truncate truncate (truncate) . fstat fstat() stat . buflimit ("buffer fillup") OpenSSH. createmode (mode) create 0. -o idmap=TYPE UID/GID . : none (). user UID/GID UID/GID . file UID/GID --uidfile --gidfile. -o uidfile=FILE username:uid -o idmap=file -o gidfile=FILE groupname:gid -o idmap=file -o nomap=TYPE idmap=file : ignore error () -o ssh_command=CMD CMD 'ssh' -o ssh_protocol=N ssh (: 2) -o sftp_server=SERV sftp (: sftp) -o directport=PORT PORT ssh -o vsock=CID:PORT vsock ssh -o passive stdin stdout . . dpipe : dpipe /usr/lib/openssh/sftp-server = ssh RemoteHostname sshfs :/directory/to/be/shared ~/mnt/src -o passive -o disable_hardlink link(2) ENOSYS . -o transform_symlinks . /foo/bar/com /foo/blub SSHFS ../blub . -o contain_symlinks .. . readlink EPERM . . transform_symlinks : .. (containment) . -o no_contain_symlinks ... . -o follow_symlinks . ( ) - . -o no_check_root 'dir' -o password_stdin stdin ( pam_mount!) -o dir_cache=BOOL (yes) (no) () SSHFS. . readdir(3) . -o dcache_max_size=N . -o dcache_timeout=N . -o dcache_{stat,link,dir}_timeout=N { } . -o dcache_clean_interval=N . -o dcache_min_clean_interval=N . -o direct_io page cache ( ) . : 1. read() write() () . 2. read() write() . ( ) /proc. -o max_conns=N SSH . SSH . . password_stdin passive buflimit . SSHFS FUSE . mount.fuse ( "general" "libfuse specific" "high-level API" )..SH " (CAVEATS / WORKAROUNDS)" (Hardlinks) SSH hardlinks SSHFS . SSHFS inode st_nlink 1 . (Rename) SSH (atomically overwriting) . . . SSHFS -o workaround=rename . ( ) SSHFS SSHFS . . SFTP (EXDEV) <<>> ("failure") . sshfs (EPERM) . -o workaround=renamexdev EXDEV mv(1) . SSHFS (mountpoint) SSHFS (freeze) . SSH SSHFS . -o ServerAliveInterval=15 . SSH . SSHFS SSHFS (timeout) SSH . ( ) ( ) . ("freeze") . (kill) sshfs ("unfreeze"). fusermount -zu / . -o ServerAliveInterval=15 * = . -o reconnect . . /etc/fstab (MOUNTING FROM /ETC/FSTAB) SSHFS /etc/fstab sshfs . ( fuse.sshfs ). (SEE ALSO) mount.fuse(8). (GETTING HELP) <> ( ). GitHub . (AUTHORS) SSHFS Nikolaus Rath <> Miklos Szeredi <> . . Bartosz Fenski <> Debian GNU/Linux ( ). SSHFS(1)