diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-10 00:18:28 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-02-10 00:18:28 +0000 |
commit | 9a975a9faed7c4f334e8c8490db3e77e102f2b21 (patch) | |
tree | 764a885ec9a963f6a8b15de6e1765f16b9ac4738 /sftp.0 | |
parent | ee196dab7c5f97f0b80c8099343a375bead92010 (diff) | |
parent | cdb6c90811caa5df2df856be9b0b16db020fe31d (diff) |
Import openssh_6.5p1.orig.tar.gz
Diffstat (limited to 'sftp.0')
-rw-r--r-- | sftp.0 | 34 |
1 files changed, 28 insertions, 6 deletions
@@ -4,7 +4,7 @@ NAME | |||
4 | sftp - secure file transfer program | 4 | sftp - secure file transfer program |
5 | 5 | ||
6 | SYNOPSIS | 6 | SYNOPSIS |
7 | sftp [-1246Cpqrv] [-B buffer_size] [-b batchfile] [-c cipher] | 7 | sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher] |
8 | [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit] | 8 | [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit] |
9 | [-o ssh_option] [-P port] [-R num_requests] [-S program] | 9 | [-o ssh_option] [-P port] [-R num_requests] [-S program] |
10 | [-s subsystem | sftp_server] host | 10 | [-s subsystem | sftp_server] host |
@@ -44,6 +44,11 @@ DESCRIPTION | |||
44 | 44 | ||
45 | -6 Forces sftp to use IPv6 addresses only. | 45 | -6 Forces sftp to use IPv6 addresses only. |
46 | 46 | ||
47 | -a Attempt to continue interrupted downloads rather than overwriting | ||
48 | existing partial or complete copies of files. If the remote file | ||
49 | contents differ from the partial local copy then the resultant | ||
50 | file is likely to be corrupt. | ||
51 | |||
47 | -B buffer_size | 52 | -B buffer_size |
48 | Specify the size of the buffer that sftp uses when transferring | 53 | Specify the size of the buffer that sftp uses when transferring |
49 | files. Larger buffers require fewer round trips at the cost of | 54 | files. Larger buffers require fewer round trips at the cost of |
@@ -74,6 +79,10 @@ DESCRIPTION | |||
74 | Specifies an alternative per-user configuration file for ssh(1). | 79 | Specifies an alternative per-user configuration file for ssh(1). |
75 | This option is directly passed to ssh(1). | 80 | This option is directly passed to ssh(1). |
76 | 81 | ||
82 | -f Requests that files be flushed to disk immediately after | ||
83 | transfer. When uploading files, this feature is only enabled if | ||
84 | the server implements the "fsync@openssh.com" extension. | ||
85 | |||
77 | -i identity_file | 86 | -i identity_file |
78 | Selects the file from which the identity (private key) for public | 87 | Selects the file from which the identity (private key) for public |
79 | key authentication is read. This option is directly passed to | 88 | key authentication is read. This option is directly passed to |
@@ -93,6 +102,11 @@ DESCRIPTION | |||
93 | AddressFamily | 102 | AddressFamily |
94 | BatchMode | 103 | BatchMode |
95 | BindAddress | 104 | BindAddress |
105 | CanonicalDomains | ||
106 | CanonicalizeFallbackLocal | ||
107 | CanonicalizeHostname | ||
108 | CanonicalizeMaxDots | ||
109 | CanonicalizePermittedCNAMEs | ||
96 | ChallengeResponseAuthentication | 110 | ChallengeResponseAuthentication |
97 | CheckHostIP | 111 | CheckHostIP |
98 | Cipher | 112 | Cipher |
@@ -209,7 +223,7 @@ INTERACTIVE COMMANDS | |||
209 | 223 | ||
210 | exit Quit sftp. | 224 | exit Quit sftp. |
211 | 225 | ||
212 | get [-aPpr] remote-path [local-path] | 226 | get [-afPpr] remote-path [local-path] |
213 | Retrieve the remote-path and store it on the local machine. If | 227 | Retrieve the remote-path and store it on the local machine. If |
214 | the local path name is not specified, it is given the same name | 228 | the local path name is not specified, it is given the same name |
215 | it has on the remote machine. remote-path may contain glob(3) | 229 | it has on the remote machine. remote-path may contain glob(3) |
@@ -220,8 +234,11 @@ INTERACTIVE COMMANDS | |||
220 | If the -a flag is specified, then attempt to resume partial | 234 | If the -a flag is specified, then attempt to resume partial |
221 | transfers of existing files. Note that resumption assumes that | 235 | transfers of existing files. Note that resumption assumes that |
222 | any partial copy of the local file matches the remote copy. If | 236 | any partial copy of the local file matches the remote copy. If |
223 | the remote file differs from the partial local copy then the | 237 | the remote file contents differ from the partial local copy then |
224 | resultant file is likely to be corrupt. | 238 | the resultant file is likely to be corrupt. |
239 | |||
240 | If the -f flag is specified, then fsync(2) will be called after | ||
241 | the file transfer has completed to flush the file to disk. | ||
225 | 242 | ||
226 | If either the -P or -p flag is specified, then full file | 243 | If either the -P or -p flag is specified, then full file |
227 | permissions and access times are copied too. | 244 | permissions and access times are copied too. |
@@ -293,7 +310,7 @@ INTERACTIVE COMMANDS | |||
293 | progress | 310 | progress |
294 | Toggle display of progress meter. | 311 | Toggle display of progress meter. |
295 | 312 | ||
296 | put [-Ppr] local-path [remote-path] | 313 | put [-fPpr] local-path [remote-path] |
297 | Upload local-path and store it on the remote machine. If the | 314 | Upload local-path and store it on the remote machine. If the |
298 | remote path name is not specified, it is given the same name it | 315 | remote path name is not specified, it is given the same name it |
299 | has on the local machine. local-path may contain glob(3) | 316 | has on the local machine. local-path may contain glob(3) |
@@ -301,6 +318,11 @@ INTERACTIVE COMMANDS | |||
301 | remote-path is specified, then remote-path must specify a | 318 | remote-path is specified, then remote-path must specify a |
302 | directory. | 319 | directory. |
303 | 320 | ||
321 | If the -f flag is specified, then a request will be sent to the | ||
322 | server to call fsync(2) after the file has been transferred. | ||
323 | Note that this is only supported by servers that implement the | ||
324 | "fsync@openssh.com" extension. | ||
325 | |||
304 | If either the -P or -p flag is specified, then full file | 326 | If either the -P or -p flag is specified, then full file |
305 | permissions and access times are copied too. | 327 | permissions and access times are copied too. |
306 | 328 | ||
@@ -345,4 +367,4 @@ SEE ALSO | |||
345 | T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- | 367 | T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- |
346 | filexfer-00.txt, January 2001, work in progress material. | 368 | filexfer-00.txt, January 2001, work in progress material. |
347 | 369 | ||
348 | OpenBSD 5.4 July 25, 2013 OpenBSD 5.4 | 370 | OpenBSD 5.4 October 20, 2013 OpenBSD 5.4 |