summaryrefslogtreecommitdiff
path: root/sftp.0
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-10-07 13:33:15 +0100
committerColin Watson <cjwatson@debian.org>2014-10-07 14:27:30 +0100
commitf0b009aea83e9ff3a50be30f51012099a5143c16 (patch)
tree3825e6f7e3b7ea4481d06ed89aba9a7a95150df5 /sftp.0
parent47f0bad4330b16ec3bad870fcf9839c196e42c12 (diff)
parent762c062828f5a8f6ed189ed6e44ad38fd92f8b36 (diff)
Merge 6.7p1.
* New upstream release (http://www.openssh.com/txt/release-6.7): - sshd(8): The default set of ciphers and MACs has been altered to remove unsafe algorithms. In particular, CBC ciphers and arcfour* are disabled by default. The full set of algorithms remains available if configured explicitly via the Ciphers and MACs sshd_config options. - ssh(1), sshd(8): Add support for Unix domain socket forwarding. A remote TCP port may be forwarded to a local Unix domain socket and vice versa or both ends may be a Unix domain socket (closes: #236718). - ssh(1), ssh-keygen(1): Add support for SSHFP DNS records for ED25519 key types. - sftp(1): Allow resumption of interrupted uploads. - ssh(1): When rekeying, skip file/DNS lookups of the hostkey if it is the same as the one sent during initial key exchange. - sshd(8): Allow explicit ::1 and 127.0.0.1 forwarding bind addresses when GatewayPorts=no; allows client to choose address family. - sshd(8): Add a sshd_config PermitUserRC option to control whether ~/.ssh/rc is executed, mirroring the no-user-rc authorized_keys option. - ssh(1): Add a %C escape sequence for LocalCommand and ControlPath that expands to a unique identifer based on a hash of the tuple of (local host, remote user, hostname, port). Helps avoid exceeding miserly pathname limits for Unix domain sockets in multiplexing control paths. - sshd(8): Make the "Too many authentication failures" message include the user, source address, port and protocol in a format similar to the authentication success / failure messages. - Use CLOCK_BOOTTIME in preference to CLOCK_MONOTONIC when it is available. It considers time spent suspended, thereby ensuring timeouts (e.g. for expiring agent keys) fire correctly (closes: #734553). - Use prctl() to prevent sftp-server from accessing /proc/self/{mem,maps}. * Restore TCP wrappers support, removed upstream in 6.7. It is true that dropping this reduces preauth attack surface in sshd. On the other hand, this support seems to be quite widely used, and abruptly dropping it (from the perspective of users who don't read openssh-unix-dev) could easily cause more serious problems in practice. It's not entirely clear what the right long-term answer for Debian is, but it at least probably doesn't involve dropping this feature shortly before a freeze. * Replace patch to disable OpenSSL version check with an updated version of Kurt Roeckx's patch from #732940 to just avoid checking the status field.
Diffstat (limited to 'sftp.0')
-rw-r--r--sftp.031
1 files changed, 21 insertions, 10 deletions
diff --git a/sftp.0 b/sftp.0
index 7139aac43..e37043455 100644
--- a/sftp.0
+++ b/sftp.0
@@ -1,4 +1,4 @@
1SFTP(1) OpenBSD Reference Manual SFTP(1) 1SFTP(1) General Commands Manual SFTP(1)
2 2
3NAME 3NAME
4 sftp - secure file transfer program 4 sftp - secure file transfer program
@@ -44,9 +44,9 @@ 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 47 -a Attempt to continue interrupted transfers rather than overwriting
48 existing partial or complete copies of files. If the remote file 48 existing partial or complete copies of files. If the partial
49 contents differ from the partial local copy then the resultant 49 contents differ from those being transferred, then the resultant
50 file is likely to be corrupt. 50 file is likely to be corrupt.
51 51
52 -B buffer_size 52 -B buffer_size
@@ -60,10 +60,11 @@ DESCRIPTION
60 used in conjunction with non-interactive authentication. A 60 used in conjunction with non-interactive authentication. A
61 batchfile of `-' may be used to indicate standard input. sftp 61 batchfile of `-' may be used to indicate standard input. sftp
62 will abort if any of the following commands fail: get, put, 62 will abort if any of the following commands fail: get, put,
63 reget, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, 63 reget, reput, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod,
64 chgrp, lpwd, df, symlink, and lmkdir. Termination on error can 64 chown, chgrp, lpwd, df, symlink, and lmkdir. Termination on
65 be suppressed on a command by command basis by prefixing the 65 error can be suppressed on a command by command basis by
66 command with a `-' character (for example, -rm /tmp/blah*). 66 prefixing the command with a `-' character (for example, -rm
67 /tmp/blah*).
67 68
68 -C Enables compression (via ssh's -C flag). 69 -C Enables compression (via ssh's -C flag).
69 70
@@ -310,7 +311,7 @@ INTERACTIVE COMMANDS
310 progress 311 progress
311 Toggle display of progress meter. 312 Toggle display of progress meter.
312 313
313 put [-fPpr] local-path [remote-path] 314 put [-afPpr] local-path [remote-path]
314 Upload local-path and store it on the remote machine. If the 315 Upload local-path and store it on the remote machine. If the
315 remote path name is not specified, it is given the same name it 316 remote path name is not specified, it is given the same name it
316 has on the local machine. local-path may contain glob(3) 317 has on the local machine. local-path may contain glob(3)
@@ -318,6 +319,12 @@ INTERACTIVE COMMANDS
318 remote-path is specified, then remote-path must specify a 319 remote-path is specified, then remote-path must specify a
319 directory. 320 directory.
320 321
322 If the -a flag is specified, then attempt to resume partial
323 transfers of existing files. Note that resumption assumes that
324 any partial copy of the remote file matches the local copy. If
325 the local file contents differ from the remote local copy then
326 the resultant file is likely to be corrupt.
327
321 If the -f flag is specified, then a request will be sent to the 328 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. 329 server to call fsync(2) after the file has been transferred.
323 Note that this is only supported by servers that implement the 330 Note that this is only supported by servers that implement the
@@ -338,6 +345,10 @@ INTERACTIVE COMMANDS
338 Resume download of remote-path. Equivalent to get with the -a 345 Resume download of remote-path. Equivalent to get with the -a
339 flag set. 346 flag set.
340 347
348 reput [-Ppr] [local-path] remote-path
349 Resume upload of [local-path]. Equivalent to put with the -a
350 flag set.
351
341 rename oldpath newpath 352 rename oldpath newpath
342 Rename remote file from oldpath to newpath. 353 Rename remote file from oldpath to newpath.
343 354
@@ -367,4 +378,4 @@ SEE ALSO
367 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- 378 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
368 filexfer-00.txt, January 2001, work in progress material. 379 filexfer-00.txt, January 2001, work in progress material.
369 380
370OpenBSD 5.5 October 20, 2013 OpenBSD 5.5 381OpenBSD 5.6 April 22, 2014 OpenBSD 5.6