sftp.1 (181110) | sftp.1 (181111) |
---|---|
1.\" $OpenBSD: sftp.1,v 1.63 2006/01/20 00:14:55 dtucker Exp $ | 1.\" $OpenBSD: sftp.1,v 1.67 2008/07/15 02:23:14 djm Exp $ |
2.\" 3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" | 2.\" 3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" |
25.Dd February 4, 2001 | 25.Dd $Mdocdate: July 15 2008 $ |
26.Dt SFTP 1 27.Os 28.Sh NAME 29.Nm sftp 30.Nd secure file transfer program 31.Sh SYNOPSIS 32.Nm sftp 33.Bk -words --- 73 unchanged lines hidden (view full) --- 107of 108.Sq \- 109may be used to indicate standard input. 110.Nm 111will abort if any of the following 112commands fail: 113.Ic get , put , rename , ln , 114.Ic rm , mkdir , chdir , ls , | 26.Dt SFTP 1 27.Os 28.Sh NAME 29.Nm sftp 30.Nd secure file transfer program 31.Sh SYNOPSIS 32.Nm sftp 33.Bk -words --- 73 unchanged lines hidden (view full) --- 107of 108.Sq \- 109may be used to indicate standard input. 110.Nm 111will abort if any of the following 112commands fail: 113.Ic get , put , rename , ln , 114.Ic rm , mkdir , chdir , ls , |
115.Ic lchdir , chmod , chown , chgrp , lpwd | 115.Ic lchdir , chmod , chown , 116.Ic chgrp , lpwd , df , |
116and 117.Ic lmkdir . 118Termination on error can be suppressed on a command by command basis by 119prefixing the command with a 120.Sq \- 121character (for example, 122.Ic -rm /tmp/blah* ) . 123.It Fl C --- 74 unchanged lines hidden (view full) --- 198Connect directly to a local sftp server 199(rather than via 200.Xr ssh 1 ) . 201This option may be useful in debugging the client and server. 202.It Fl R Ar num_requests 203Specify how many requests may be outstanding at any one time. 204Increasing this may slightly improve file transfer speed 205but will increase memory usage. | 117and 118.Ic lmkdir . 119Termination on error can be suppressed on a command by command basis by 120prefixing the command with a 121.Sq \- 122character (for example, 123.Ic -rm /tmp/blah* ) . 124.It Fl C --- 74 unchanged lines hidden (view full) --- 199Connect directly to a local sftp server 200(rather than via 201.Xr ssh 1 ) . 202This option may be useful in debugging the client and server. 203.It Fl R Ar num_requests 204Specify how many requests may be outstanding at any one time. 205Increasing this may slightly improve file transfer speed 206but will increase memory usage. |
206The default is 16 outstanding requests. | 207The default is 64 outstanding requests. |
207.It Fl S Ar program 208Name of the 209.Ar program 210to use for the encrypted connection. 211The program must understand 212.Xr ssh 1 213options. 214.It Fl s Ar subsystem | sftp_server --- 52 unchanged lines hidden (view full) --- 267to 268.Ar own . 269.Ar path 270may contain 271.Xr glob 3 272characters and may match multiple files. 273.Ar own 274must be a numeric UID. | 208.It Fl S Ar program 209Name of the 210.Ar program 211to use for the encrypted connection. 212The program must understand 213.Xr ssh 1 214options. 215.It Fl s Ar subsystem | sftp_server --- 52 unchanged lines hidden (view full) --- 268to 269.Ar own . 270.Ar path 271may contain 272.Xr glob 3 273characters and may match multiple files. 274.Ar own 275must be a numeric UID. |
276.It Xo Ic df 277.Op Fl hi 278.Op Ar path 279.Xc 280Display usage information for the filesystem holding the current directory 281(or 282.Ar path 283if specified). 284If the 285.Fl h 286flag is specified, the capacity information will be displayed using 287"human-readable" suffixes. 288The 289.Fl i 290flag requests display of inode information in addition to capacity information. 291This command is only supported on servers that implement the 292.Dq statvfs@openssh.com 293extension. |
|
275.It Ic exit 276Quit 277.Nm sftp . 278.It Xo Ic get 279.Op Fl P 280.Ar remote-path 281.Op Ar local-path 282.Xc --- 171 unchanged lines hidden --- | 294.It Ic exit 295Quit 296.Nm sftp . 297.It Xo Ic get 298.Op Fl P 299.Ar remote-path 300.Op Ar local-path 301.Xc --- 171 unchanged lines hidden --- |