summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.131
1 files changed, 24 insertions, 7 deletions
diff --git a/sftp.1 b/sftp.1
index 120e16897..0cc4e2b63 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.25 2001/09/17 17:57:57 stevesk Exp $ 1.\" $OpenBSD: sftp.1,v 1.26 2001/09/17 20:38:09 stevesk Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -30,11 +30,13 @@
30.Nd Secure file transfer program 30.Nd Secure file transfer program
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp 32.Nm sftp
33.Op Fl vC 33.Op Fl 1Cv
34.Op Fl b Ar batchfile 34.Op Fl b Ar batchfile
35.Op Fl F Ar ssh_config 35.Op Fl F Ar ssh_config
36.Op Fl o Ar ssh_option 36.Op Fl o Ar ssh_option
37.Op Ar host 37.Op Fl s Ar subsystem | sftp_server
38.Op Fl S Ar program
39.Ar host
38.Nm sftp 40.Nm sftp
39.Op [\fIuser\fR@]\fIhost\fR[:\fIfile\fR [\fIfile\fR]] 41.Op [\fIuser\fR@]\fIhost\fR[:\fIfile\fR [\fIfile\fR]]
40.Nm sftp 42.Nm sftp
@@ -61,6 +63,8 @@ The last usage format allows the sftp client to start in a remote directory.
61.Pp 63.Pp
62The options are as follows: 64The options are as follows:
63.Bl -tag -width Ds 65.Bl -tag -width Ds
66.It Fl 1
67Specify the use of protocol version 1.
64.It Fl b Ar batchfile 68.It Fl b Ar batchfile
65Batch mode reads a series of commands from an input 69Batch mode reads a series of commands from an input
66.Ar batchfile 70.Ar batchfile
@@ -77,7 +81,7 @@ and
77.It Fl C 81.It Fl C
78Enables compression (via ssh's 82Enables compression (via ssh's
79.Fl C 83.Fl C
80flag) 84flag).
81.It Fl F Ar ssh_config 85.It Fl F Ar ssh_config
82Specifies an alternative 86Specifies an alternative
83per-user configuration file for 87per-user configuration file for
@@ -92,9 +96,22 @@ in the format used in the
92configuration file. This is useful for specifying options 96configuration file. This is useful for specifying options
93for which there is no separate 97for which there is no separate
94.Nm sftp 98.Nm sftp
95command-line flag. For example, forcing the use of protocol 99command-line flag. For example, to specify an alternate
96version 1 is specified using 100port use:
97.Ic sftp -oProtocol=1 . 101.Ic sftp -oPort=24 .
102.It Fl s Ar subsystem | sftp_server
103Specifies the SSH2 subsystem or the path for an sftp server
104on the remote host. A path is useful for using sftp over
105protocol version 1, or when the remote
106.Nm sshd
107does not have an sftp subsystem configured.
108.It Fl S Ar program
109Name of the
110.Ar program
111to use for the encrypted connection.
112The program must understand
113.Xr ssh 1
114options.
98.It Fl v 115.It Fl v
99Raise logging level. This option is also passed to ssh. 116Raise logging level. This option is also passed to ssh.
100.El 117.El