1SSHFS(1) User Commands SSHFS(1)
2
3
4
6 SSHFS - filesystem client based on ssh
7
9 usage: sshfs [user@]host:[dir] mountpoint [options]
10
11 general options:
12 -o opt,[opt...]
13 mount options
14
15 -h --help
16 print help
17
18 -V --version
19 print version
20
21 SSHFS options:
22 -p PORT
23 equivalent to '-o port=PORT'
24
25 -C equivalent to '-o compression=yes'
26
27 -1 equivalent to '-o ssh_protocol=1'
28
29 -o reconnect
30 reconnect to server
31
32 -o sshfs_sync
33 synchronous writes
34
35 -o no_readahead
36 synchronous reads (no speculative readahead)
37
38 -o sshfs_debug
39 print some debugging information
40
41 -o cache=YESNO
42 enable caching {yes,no} (default: yes)
43
44 -o cache_timeout=N
45 sets timeout for caches in seconds (default: 20)
46
47 -o cache_X_timeout=N
48 sets timeout for {stat,dir,link} cache
49
50 -o workaround=LIST
51 colon separated list of workarounds
52
53 none no workarounds enabled
54
55 all all workarounds enabled
56
57 [no]rename
58 fix renaming to existing file (default: off)
59
60 [no]nodelaysrv
61 set nodelay tcp flag in ssh (default: off)
62
63 [no]truncate
64 fix truncate for old servers (default: off)
65
66 [no]buflimit
67 fix buffer fillup bug in server (default: on)
68
69 -o idmap=TYPE
70 user/group ID mapping, possible types are:
71
72 none no translation of the ID space (default)
73
74 user only translate UID of connecting user
75
76 -o ssh_command=CMD
77 execute CMD instead of 'ssh'
78
79 -o ssh_protocol=N
80 ssh protocol to use (default: 2)
81
82 -o sftp_server=SERV
83 path to sftp server or subsystem (default: sftp)
84
85 -o directport=PORT
86 directly connect to PORT bypassing ssh
87
88 -o transform_symlinks
89 transform absolute symlinks to relative
90
91 -o follow_symlinks
92 follow symlinks on the server
93
94 -o no_check_root
95 don't check for existence of 'dir' on server
96
97 -o password_stdin
98 read password from stdin (only for pam_mount!)
99
100 -o SSHOPT=VAL
101 ssh options (see man ssh_config)
102
103 FUSE options:
104 -d -o debug
105 enable debug output (implies -f)
106
107 -f foreground operation
108
109 -s disable multi-threaded operation
110
111 -o allow_other
112 allow access to other users
113
114 -o allow_root
115 allow access to root
116
117 -o nonempty
118 allow mounts over non-empty file/dir
119
120 -o default_permissions enable permission checking by kernel
121
122 -o fsname=NAME
123 set filesystem name
124
125 -o subtype=NAME
126 set filesystem type
127
128 -o large_read
129 issue large read requests (2.4 only)
130
131 -o max_read=N
132 set maximum size of read requests
133
134 -o hard_remove
135 immediate removal (don't hide files)
136
137 -o use_ino
138 let filesystem set inode numbers
139
140 -o readdir_ino
141 try to fill in d_ino in readdir
142
143 -o direct_io
144 use direct I/O
145
146 -o kernel_cache
147 cache files in kernel
148
149 -o [no]auto_cache
150 enable caching based on modification times
151
152 -o umask=M
153 set file permissions (octal)
154
155 -o uid=N
156 set file owner
157
158 -o gid=N
159 set file group
160
161 -o entry_timeout=T
162 cache timeout for names (1.0s)
163
164 -o negative_timeout=T
165 cache timeout for deleted names (0.0s)
166
167 -o attr_timeout=T
168 cache timeout for attributes (1.0s)
169
170 -o ac_attr_timeout=T
171 auto cache timeout for attributes (attr_timeout)
172
173 -o intr
174 allow requests to be interrupted
175
176 -o intr_signal=NUM
177 signal to send on interrupt (10)
178
179 -o modules=M1[:M2...]
180 names of modules to push onto filesystem stack
181
182 -o max_write=N
183 set maximum size of write requests
184
185 -o max_readahead=N
186 set maximum readahead
187
188 -o async_read
189 perform reads asynchronously (default)
190
191 -o sync_read
192 perform reads synchronously
193
194 Module options:
195 [subdir]
196
197 -o subdir=DIR
198 prepend this directory to all paths (mandatory)
199
200 -o [no]rellinksa
201 transform absolute symlinks to relative
202
203 [iconv]
204
205 -o from_code=CHARSET
206 original encoding of file names (default: UTF-8)
207
208 -o to_code=CHARSET
209 new encoding of the file names (default: ISO-8859-2)
210
211
212
213SSHFS version 2.0 April 2008 SSHFS(1)