sftp.1 (208709) | sftp.1 (221420) |
---|---|
1.\" $OpenBSD: sftp.1,v 1.83 2010/02/08 10:50:20 markus Exp $ 2.\" $FreeBSD: head/crypto/openssh/sftp.1 208709 2010-06-01 15:11:29Z des $ | 1.\" $OpenBSD: sftp.1,v 1.88 2010/12/04 00:18:01 djm Exp $ 2.\" $FreeBSD: head/crypto/openssh/sftp.1 221420 2011-05-04 07:34:44Z des $ |
3.\" 4.\" Copyright (c) 2001 Damien Miller. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" | 3.\" 4.\" Copyright (c) 2001 Damien Miller. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.Dd February 8, 2010 | 26.Dd December 4, 2010 |
27.Dt SFTP 1 28.Os 29.Sh NAME 30.Nm sftp 31.Nd secure file transfer program 32.Sh SYNOPSIS 33.Nm sftp 34.Bk -words 35.Op Fl 1246Cpqrv 36.Op Fl B Ar buffer_size 37.Op Fl b Ar batchfile 38.Op Fl c Ar cipher 39.Op Fl D Ar sftp_server_path 40.Op Fl F Ar ssh_config 41.Op Fl i Ar identity_file | 27.Dt SFTP 1 28.Os 29.Sh NAME 30.Nm sftp 31.Nd secure file transfer program 32.Sh SYNOPSIS 33.Nm sftp 34.Bk -words 35.Op Fl 1246Cpqrv 36.Op Fl B Ar buffer_size 37.Op Fl b Ar batchfile 38.Op Fl c Ar cipher 39.Op Fl D Ar sftp_server_path 40.Op Fl F Ar ssh_config 41.Op Fl i Ar identity_file |
42.Op Fl l Ar limit |
|
42.Op Fl o Ar ssh_option 43.Op Fl P Ar port 44.Op Fl R Ar num_requests 45.Op Fl S Ar program 46.Op Fl s Ar subsystem | sftp_server 47.Ar host 48.Ek 49.Nm sftp 50.Oo Ar user Ns @ Oc Ns 51.Ar host Ns Op : Ns Ar 52.Nm sftp | 43.Op Fl o Ar ssh_option 44.Op Fl P Ar port 45.Op Fl R Ar num_requests 46.Op Fl S Ar program 47.Op Fl s Ar subsystem | sftp_server 48.Ar host 49.Ek 50.Nm sftp 51.Oo Ar user Ns @ Oc Ns 52.Ar host Ns Op : Ns Ar 53.Nm sftp |
53.Oo Ar user Ns @ Oc Ns | 54.Oo 55.Ar user Ns @ Oc Ns |
54.Ar host Ns Oo : Ns Ar dir Ns | 56.Ar host Ns Oo : Ns Ar dir Ns |
55.Op Ar / Oc | 57.Op Ar / 58.Oc |
56.Nm sftp 57.Fl b Ar batchfile 58.Oo Ar user Ns @ Oc Ns Ar host 59.Sh DESCRIPTION 60.Nm 61is an interactive file transfer program, similar to 62.Xr ftp 1 , 63which performs all operations over an encrypted --- 57 unchanged lines hidden (view full) --- 121.Sq \- 122may be used to indicate standard input. 123.Nm 124will abort if any of the following 125commands fail: 126.Ic get , put , rename , ln , 127.Ic rm , mkdir , chdir , ls , 128.Ic lchdir , chmod , chown , | 59.Nm sftp 60.Fl b Ar batchfile 61.Oo Ar user Ns @ Oc Ns Ar host 62.Sh DESCRIPTION 63.Nm 64is an interactive file transfer program, similar to 65.Xr ftp 1 , 66which performs all operations over an encrypted --- 57 unchanged lines hidden (view full) --- 124.Sq \- 125may be used to indicate standard input. 126.Nm 127will abort if any of the following 128commands fail: 129.Ic get , put , rename , ln , 130.Ic rm , mkdir , chdir , ls , 131.Ic lchdir , chmod , chown , |
129.Ic chgrp , lpwd , df , | 132.Ic chgrp , lpwd , df , symlink , |
130and 131.Ic lmkdir . 132Termination on error can be suppressed on a command by command basis by 133prefixing the command with a 134.Sq \- 135character (for example, 136.Ic -rm /tmp/blah* ) . 137.It Fl C --- 15 unchanged lines hidden (view full) --- 153.Xr ssh 1 . 154This option is directly passed to 155.Xr ssh 1 . 156.It Fl i Ar identity_file 157Selects the file from which the identity (private key) for public key 158authentication is read. 159This option is directly passed to 160.Xr ssh 1 . | 133and 134.Ic lmkdir . 135Termination on error can be suppressed on a command by command basis by 136prefixing the command with a 137.Sq \- 138character (for example, 139.Ic -rm /tmp/blah* ) . 140.It Fl C --- 15 unchanged lines hidden (view full) --- 156.Xr ssh 1 . 157This option is directly passed to 158.Xr ssh 1 . 159.It Fl i Ar identity_file 160Selects the file from which the identity (private key) for public key 161authentication is read. 162This option is directly passed to 163.Xr ssh 1 . |
164.It Fl l Ar limit 165Limits the used bandwidth, specified in Kbit/s. |
|
161.It Fl o Ar ssh_option 162Can be used to pass options to 163.Nm ssh 164in the format used in 165.Xr ssh_config 5 . 166This is useful for specifying options 167for which there is no separate 168.Nm sftp --- 23 unchanged lines hidden (view full) --- 192.It HashKnownHosts 193.It Host 194.It HostbasedAuthentication 195.It HostKeyAlgorithms 196.It HostKeyAlias 197.It HostName 198.It IdentityFile 199.It IdentitiesOnly | 166.It Fl o Ar ssh_option 167Can be used to pass options to 168.Nm ssh 169in the format used in 170.Xr ssh_config 5 . 171This is useful for specifying options 172for which there is no separate 173.Nm sftp --- 23 unchanged lines hidden (view full) --- 197.It HashKnownHosts 198.It Host 199.It HostbasedAuthentication 200.It HostKeyAlgorithms 201.It HostKeyAlias 202.It HostName 203.It IdentityFile 204.It IdentitiesOnly |
205.It IPQoS |
|
200.It KbdInteractiveDevices | 206.It KbdInteractiveDevices |
207.It KexAlgorithms |
|
201.It LogLevel 202.It MACs 203.It NoHostAuthenticationForLocalhost 204.It NumberOfPasswordPrompts 205.It PasswordAuthentication 206.It PKCS11Provider 207.It Port 208.It PreferredAuthentications --- 172 unchanged lines hidden (view full) --- 381command. 382.Ar path 383may contain 384.Xr glob 3 385characters and may match multiple files. 386.It Ic lmkdir Ar path 387Create local directory specified by 388.Ar path . | 208.It LogLevel 209.It MACs 210.It NoHostAuthenticationForLocalhost 211.It NumberOfPasswordPrompts 212.It PasswordAuthentication 213.It PKCS11Provider 214.It Port 215.It PreferredAuthentications --- 172 unchanged lines hidden (view full) --- 388command. 389.Ar path 390may contain 391.Xr glob 3 392characters and may match multiple files. 393.It Ic lmkdir Ar path 394Create local directory specified by 395.Ar path . |
389.It Ic ln Ar oldpath Ar newpath 390Create a symbolic link from | 396.It Xo Ic ln 397.Op Fl s |
391.Ar oldpath | 398.Ar oldpath |
399.Ar newpath 400.Xc 401Create a link from 402.Ar oldpath |
|
392to 393.Ar newpath . | 403to 404.Ar newpath . |
405If the 406.Fl s 407flag is specified the created link is a symbolic link, otherwise it is 408a hard link. |
|
394.It Ic lpwd 395Print local working directory. 396.It Xo Ic ls 397.Op Fl 1afhlnrSt 398.Op Ar path 399.Xc 400Display a remote directory listing of either 401.Ar path --- 132 unchanged lines hidden --- | 409.It Ic lpwd 410Print local working directory. 411.It Xo Ic ls 412.Op Fl 1afhlnrSt 413.Op Ar path 414.Xc 415Display a remote directory listing of either 416.Ar path --- 132 unchanged lines hidden --- |