diff options
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 31 |
1 files changed, 24 insertions, 7 deletions
@@ -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 |
62 | The options are as follows: | 64 | The options are as follows: |
63 | .Bl -tag -width Ds | 65 | .Bl -tag -width Ds |
66 | .It Fl 1 | ||
67 | Specify the use of protocol version 1. | ||
64 | .It Fl b Ar batchfile | 68 | .It Fl b Ar batchfile |
65 | Batch mode reads a series of commands from an input | 69 | Batch 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 |
78 | Enables compression (via ssh's | 82 | Enables compression (via ssh's |
79 | .Fl C | 83 | .Fl C |
80 | flag) | 84 | flag). |
81 | .It Fl F Ar ssh_config | 85 | .It Fl F Ar ssh_config |
82 | Specifies an alternative | 86 | Specifies an alternative |
83 | per-user configuration file for | 87 | per-user configuration file for |
@@ -92,9 +96,22 @@ in the format used in the | |||
92 | configuration file. This is useful for specifying options | 96 | configuration file. This is useful for specifying options |
93 | for which there is no separate | 97 | for which there is no separate |
94 | .Nm sftp | 98 | .Nm sftp |
95 | command-line flag. For example, forcing the use of protocol | 99 | command-line flag. For example, to specify an alternate |
96 | version 1 is specified using | 100 | port use: |
97 | .Ic sftp -oProtocol=1 . | 101 | .Ic sftp -oPort=24 . |
102 | .It Fl s Ar subsystem | sftp_server | ||
103 | Specifies the SSH2 subsystem or the path for an sftp server | ||
104 | on the remote host. A path is useful for using sftp over | ||
105 | protocol version 1, or when the remote | ||
106 | .Nm sshd | ||
107 | does not have an sftp subsystem configured. | ||
108 | .It Fl S Ar program | ||
109 | Name of the | ||
110 | .Ar program | ||
111 | to use for the encrypted connection. | ||
112 | The program must understand | ||
113 | .Xr ssh 1 | ||
114 | options. | ||
98 | .It Fl v | 115 | .It Fl v |
99 | Raise logging level. This option is also passed to ssh. | 116 | Raise logging level. This option is also passed to ssh. |
100 | .El | 117 | .El |