meta data for this page
  •  

SSH FS

  • sshfs
  • fuse.sshfs

sshfs Changelog

/etc/fstab
user@example.com:/  /mnt/examplecom  fuse.sshfs  defaults,_netdev,noauto,compression=yes,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,cache=yes,cache_timeout=3600,cache_dir_timeout=600,cache_stat_timeout=20,cache_link_timeout=20  0  0

Cache options (>v3.0.0)

-o dir_cache=BOOL
       Enables (yes) or disables (no) the SSHFS directory  cache.   The
       directory  cache  holds the names of directory entries. Enabling
       it allows readdir(3) system calls to be processed  without  net‐
       work access.

-o dcache_max_size=N
       sets the maximum size of the directory cache.

-o dcache_timeout=N
       sets timeout for directory cache in seconds.

-o dcache_{stat,link,dir}_timeout=N
       sets  separate timeout for {attributes, symlinks, names} in  the
       directory cache.

-o dcache_clean_interval=N
       sets the interval for automatic cleaning of the directory cache.

-o dcache_min_clean_interval=N
       sets the interval for forced cleaning  of  the  directory  cache
       when full.

-o max_conns=N
       sets  the maximum number of simultaneous SSH connections to use.
       Each connection is established with a separate SSH process.  The
       primary purpose of this feature is to improve the responsiveness
       of the file system during large file transfers. When using  more
       than once connection, the password_stdin and passive options can
       not be used, and the buflimit workaround is not supported.

Cache options (< v3.0.0)

   -o cache=YESNO
          enable caching {yes,no} (default: yes)

   -o cache_timeout=N
          sets timeout for caches in seconds (default: 20)

   -o cache_X_timeout=N
          sets timeout for {stat,dir,link} cache