summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.129
1 files changed, 22 insertions, 7 deletions
diff --git a/sftp.1 b/sftp.1
index 777b02a58..89b5d3544 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.83 2010/02/08 10:50:20 markus Exp $ 1.\" $OpenBSD: sftp.1,v 1.88 2010/12/04 00:18:01 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 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. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: February 8 2010 $ 25.Dd $Mdocdate: December 4 2010 $
26.Dt SFTP 1 26.Dt SFTP 1
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -38,6 +38,7 @@
38.Op Fl D Ar sftp_server_path 38.Op Fl D Ar sftp_server_path
39.Op Fl F Ar ssh_config 39.Op Fl F Ar ssh_config
40.Op Fl i Ar identity_file 40.Op Fl i Ar identity_file
41.Op Fl l Ar limit
41.Op Fl o Ar ssh_option 42.Op Fl o Ar ssh_option
42.Op Fl P Ar port 43.Op Fl P Ar port
43.Op Fl R Ar num_requests 44.Op Fl R Ar num_requests
@@ -49,9 +50,11 @@
49.Oo Ar user Ns @ Oc Ns 50.Oo Ar user Ns @ Oc Ns
50.Ar host Ns Op : Ns Ar 51.Ar host Ns Op : Ns Ar
51.Nm sftp 52.Nm sftp
52.Oo Ar user Ns @ Oc Ns 53.Oo
54.Ar user Ns @ Oc Ns
53.Ar host Ns Oo : Ns Ar dir Ns 55.Ar host Ns Oo : Ns Ar dir Ns
54.Op Ar / Oc 56.Op Ar /
57.Oc
55.Nm sftp 58.Nm sftp
56.Fl b Ar batchfile 59.Fl b Ar batchfile
57.Oo Ar user Ns @ Oc Ns Ar host 60.Oo Ar user Ns @ Oc Ns Ar host
@@ -125,7 +128,7 @@ commands fail:
125.Ic get , put , rename , ln , 128.Ic get , put , rename , ln ,
126.Ic rm , mkdir , chdir , ls , 129.Ic rm , mkdir , chdir , ls ,
127.Ic lchdir , chmod , chown , 130.Ic lchdir , chmod , chown ,
128.Ic chgrp , lpwd , df , 131.Ic chgrp , lpwd , df , symlink ,
129and 132and
130.Ic lmkdir . 133.Ic lmkdir .
131Termination on error can be suppressed on a command by command basis by 134Termination on error can be suppressed on a command by command basis by
@@ -157,6 +160,8 @@ Selects the file from which the identity (private key) for public key
157authentication is read. 160authentication is read.
158This option is directly passed to 161This option is directly passed to
159.Xr ssh 1 . 162.Xr ssh 1 .
163.It Fl l Ar limit
164Limits the used bandwidth, specified in Kbit/s.
160.It Fl o Ar ssh_option 165.It Fl o Ar ssh_option
161Can be used to pass options to 166Can be used to pass options to
162.Nm ssh 167.Nm ssh
@@ -196,7 +201,9 @@ For full details of the options listed below, and their possible values, see
196.It HostName 201.It HostName
197.It IdentityFile 202.It IdentityFile
198.It IdentitiesOnly 203.It IdentitiesOnly
204.It IPQoS
199.It KbdInteractiveDevices 205.It KbdInteractiveDevices
206.It KexAlgorithms
200.It LogLevel 207.It LogLevel
201.It MACs 208.It MACs
202.It NoHostAuthenticationForLocalhost 209.It NoHostAuthenticationForLocalhost
@@ -385,11 +392,19 @@ characters and may match multiple files.
385.It Ic lmkdir Ar path 392.It Ic lmkdir Ar path
386Create local directory specified by 393Create local directory specified by
387.Ar path . 394.Ar path .
388.It Ic ln Ar oldpath Ar newpath 395.It Xo Ic ln
389Create a symbolic link from 396.Op Fl s
397.Ar oldpath
398.Ar newpath
399.Xc
400Create a link from
390.Ar oldpath 401.Ar oldpath
391to 402to
392.Ar newpath . 403.Ar newpath .
404If the
405.Fl s
406flag is specified the created link is a symbolic link, otherwise it is
407a hard link.
393.It Ic lpwd 408.It Ic lpwd
394Print local working directory. 409Print local working directory.
395.It Xo Ic ls 410.It Xo Ic ls