mirror of git://anongit.mindrot.org/openssh.git
- stevesk@cvs.openbsd.org 2001/08/14 17:54:29
[scp.1 sftp.1 ssh.1] consistent documentation and example of ``-o ssh_option'' for sftp and scp; document keyword=argument for ssh.
This commit is contained in:
parent
59e1249d67
commit
14c62eb2be
|
@ -26,6 +26,10 @@
|
||||||
- markus@cvs.openbsd.org 2001/08/14 09:23:02
|
- markus@cvs.openbsd.org 2001/08/14 09:23:02
|
||||||
[sftp.1 sftp-int.c]
|
[sftp.1 sftp-int.c]
|
||||||
"bye"; hk63a@netscape.net
|
"bye"; hk63a@netscape.net
|
||||||
|
- stevesk@cvs.openbsd.org 2001/08/14 17:54:29
|
||||||
|
[scp.1 sftp.1 ssh.1]
|
||||||
|
consistent documentation and example of ``-o ssh_option'' for sftp and
|
||||||
|
scp; document keyword=argument for ssh.
|
||||||
|
|
||||||
20010814
|
20010814
|
||||||
- (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
|
- (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
|
||||||
|
@ -6315,4 +6319,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1482 2001/08/15 23:22:56 mouring Exp $
|
$Id: ChangeLog,v 1.1483 2001/08/15 23:25:46 mouring Exp $
|
||||||
|
|
22
scp.1
22
scp.1
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sun May 7 00:14:37 1995 ylo
|
.\" Created: Sun May 7 00:14:37 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: scp.1,v 1.16 2001/08/08 07:16:58 deraadt Exp $
|
.\" $OpenBSD: scp.1,v 1.17 2001/08/14 17:54:29 stevesk Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SCP 1
|
.Dt SCP 1
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
.Op Fl P Ar port
|
.Op Fl P Ar port
|
||||||
.Op Fl c Ar cipher
|
.Op Fl c Ar cipher
|
||||||
.Op Fl i Ar identity_file
|
.Op Fl i Ar identity_file
|
||||||
.Op Fl o Ar option
|
.Op Fl o Ar ssh_option
|
||||||
.Sm off
|
.Sm off
|
||||||
.Oo
|
.Oo
|
||||||
.Op Ar user@
|
.Op Ar user@
|
||||||
|
@ -107,13 +107,17 @@ to use for the encrypted connection.
|
||||||
The program must understand
|
The program must understand
|
||||||
.Xr ssh 1
|
.Xr ssh 1
|
||||||
options.
|
options.
|
||||||
.It Fl o Ar option
|
.It Fl o Ar ssh_option
|
||||||
Can be used to give options in the format used in the config file.
|
Can be used to pass options to
|
||||||
These options are passed directly to
|
.Nm ssh
|
||||||
.Xr ssh 1 ,
|
in the format used in the
|
||||||
for instance
|
.Xr ssh 1
|
||||||
.Fl o "Protocol=1"
|
configuration file. This is useful for specifying options
|
||||||
would force protocol 1.
|
for which there is no separate
|
||||||
|
.Nm scp
|
||||||
|
command-line flag. For example, to force the use of protocol
|
||||||
|
version 1 you may specify
|
||||||
|
.Ic scp -oProtocol=1 .
|
||||||
.It Fl 4
|
.It Fl 4
|
||||||
Forces
|
Forces
|
||||||
.Nm
|
.Nm
|
||||||
|
|
14
sftp.1
14
sftp.1
|
@ -1,4 +1,4 @@
|
||||||
.\" $OpenBSD: sftp.1,v 1.22 2001/08/14 09:23:02 markus Exp $
|
.\" $OpenBSD: sftp.1,v 1.23 2001/08/14 17:54:29 stevesk Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
|
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
|
@ -78,8 +78,16 @@ Enables compression (via ssh's
|
||||||
.Fl C
|
.Fl C
|
||||||
flag)
|
flag)
|
||||||
.It Fl o Ar ssh_option
|
.It Fl o Ar ssh_option
|
||||||
Specify an option to be directly passed to
|
Can be used to pass options to
|
||||||
.Xr ssh 1 .
|
.Nm ssh
|
||||||
|
in the format used in the
|
||||||
|
.Xr ssh 1
|
||||||
|
configuration file. This is useful for specifying options
|
||||||
|
for which there is no separate
|
||||||
|
.Nm sftp
|
||||||
|
command-line flag. For example, to force the use of protocol
|
||||||
|
version 1 you may specify
|
||||||
|
.Ic sftp -oProtocol=1 .
|
||||||
.It Fl v
|
.It Fl v
|
||||||
Raise logging level. This option is also passed to ssh.
|
Raise logging level. This option is also passed to ssh.
|
||||||
.El
|
.El
|
||||||
|
|
20
ssh.1
20
ssh.1
|
@ -34,7 +34,7 @@
|
||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: ssh.1,v 1.126 2001/08/01 22:16:45 markus Exp $
|
.\" $OpenBSD: ssh.1,v 1.127 2001/08/14 17:54:29 stevesk Exp $
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH 1
|
.Dt SSH 1
|
||||||
.Os
|
.Os
|
||||||
|
@ -492,10 +492,9 @@ Do not execute a remote command.
|
||||||
This is useful if you just want to forward ports
|
This is useful if you just want to forward ports
|
||||||
(protocol version 2 only).
|
(protocol version 2 only).
|
||||||
.It Fl o Ar option
|
.It Fl o Ar option
|
||||||
Can be used to give options in the format used in the config file.
|
Can be used to give options in the format used in the configuration file.
|
||||||
This is useful for specifying options for which there is no separate
|
This is useful for specifying options for which there is no separate
|
||||||
command-line flag.
|
command-line flag.
|
||||||
The option has the same format as a line in the configuration file.
|
|
||||||
.It Fl p Ar port
|
.It Fl p Ar port
|
||||||
Port to connect to on the remote host.
|
Port to connect to on the remote host.
|
||||||
This can be specified on a
|
This can be specified on a
|
||||||
|
@ -613,7 +612,8 @@ to use IPv6 addresses only.
|
||||||
.El
|
.El
|
||||||
.Sh CONFIGURATION FILES
|
.Sh CONFIGURATION FILES
|
||||||
.Nm
|
.Nm
|
||||||
obtains configuration data from the following sources (in this order):
|
obtains configuration data from the following sources in
|
||||||
|
the following order:
|
||||||
command line options, user's configuration file
|
command line options, user's configuration file
|
||||||
.Pq Pa $HOME/.ssh/config ,
|
.Pq Pa $HOME/.ssh/config ,
|
||||||
and system-wide configuration file
|
and system-wide configuration file
|
||||||
|
@ -638,6 +638,18 @@ are comments.
|
||||||
.Pp
|
.Pp
|
||||||
Otherwise a line is of the format
|
Otherwise a line is of the format
|
||||||
.Dq keyword arguments .
|
.Dq keyword arguments .
|
||||||
|
Configuration options may be separated by whitespace or
|
||||||
|
optional whitespace and exactly one
|
||||||
|
.Ql = ;
|
||||||
|
the latter format is useful to avoid the need to quote whitespace
|
||||||
|
when specifying configuration options using the
|
||||||
|
.Nm ssh ,
|
||||||
|
.Nm scp
|
||||||
|
and
|
||||||
|
.Nm sftp
|
||||||
|
.Fl o
|
||||||
|
option.
|
||||||
|
.Pp
|
||||||
The possible
|
The possible
|
||||||
keywords and their meanings are as follows (note that the
|
keywords and their meanings are as follows (note that the
|
||||||
configuration files are case-sensitive):
|
configuration files are case-sensitive):
|
||||||
|
|
Loading…
Reference in New Issue