- jmc@cvs.openbsd.org 2003/06/10 09:12:11

[scp.1 sftp-server.8 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5]
     [sshd.8 sshd_config.5 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8]
     - section reorder
     - COMPATIBILITY merge
     - macro cleanup
     - kill whitespace at EOL
     - new sentence, new line
     ssh pages ok markus@
This commit is contained in:
Damien Miller 2003-06-11 22:04:39 +10:00
parent 78f2e5ca98
commit f1ce505daf
12 changed files with 123 additions and 109 deletions

View File

@ -1,3 +1,16 @@
20030611
- (djm) OpenBSD CVS Sync
- jmc@cvs.openbsd.org 2003/06/10 09:12:11
[scp.1 sftp-server.8 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5]
[sshd.8 sshd_config.5 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8]
- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line
ssh pages ok markus@
20030609 20030609
- (djm) Sync README.smartcard with OpenBSD -current - (djm) Sync README.smartcard with OpenBSD -current
- (djm) Re-merge OpenSC info into README.smartcard - (djm) Re-merge OpenSC info into README.smartcard
@ -480,4 +493,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2792 2003/06/10 11:09:09 djm Exp $ $Id: ChangeLog,v 1.2793 2003/06/11 12:04:39 djm Exp $

20
scp.1
View File

@ -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.27 2003/03/28 10:11:43 jmc Exp $ .\" $OpenBSD: scp.1,v 1.28 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SCP 1 .Dt SCP 1
@ -148,14 +148,6 @@ to use IPv6 addresses only.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
.Nm .Nm
exits with 0 on success or >0 if an error occurred. exits with 0 on success or >0 if an error occurred.
.Sh AUTHORS
Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
.Sh HISTORY
.Nm
is based on the
.Xr rcp 1
program in BSD source code from the Regents of the University of
California.
.Sh SEE ALSO .Sh SEE ALSO
.Xr rcp 1 , .Xr rcp 1 ,
.Xr sftp 1 , .Xr sftp 1 ,
@ -165,3 +157,13 @@ California.
.Xr ssh-keygen 1 , .Xr ssh-keygen 1 ,
.Xr ssh_config 5 , .Xr ssh_config 5 ,
.Xr sshd 8 .Xr sshd 8
.Sh HISTORY
.Nm
is based on the
.Xr rcp 1
program in BSD source code from the Regents of the University of
California.
.Sh AUTHORS
.An Timo Rinne Aq tri@iki.fi
and
.An Tatu Ylonen Aq ylo@cs.hut.fi

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sftp-server.8,v 1.8 2001/06/23 05:57:08 deraadt Exp $ .\" $OpenBSD: sftp-server.8,v 1.9 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" Copyright (c) 2000 Markus Friedl. All rights reserved. .\" Copyright (c) 2000 Markus Friedl. All rights reserved.
.\" .\"
@ -56,7 +56,7 @@ for more information.
.%O work in progress material .%O work in progress material
.Re .Re
.Sh AUTHORS .Sh AUTHORS
Markus Friedl <markus@openbsd.org> .An Markus Friedl Aq markus@openbsd.org
.Sh HISTORY .Sh HISTORY
.Nm .Nm
first appeared in OpenBSD 2.8 . first appeared in OpenBSD 2.8 .

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-add.1,v 1.38 2003/03/28 10:11:43 jmc Exp $ .\" $OpenBSD: ssh-add.1,v 1.39 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" -*- nroff -*- .\" -*- nroff -*-
.\" .\"
@ -109,20 +109,6 @@ Add key in smartcard
Remove key in smartcard Remove key in smartcard
.Ar reader . .Ar reader .
.El .El
.Sh FILES
.Bl -tag -width Ds
.It Pa $HOME/.ssh/identity
Contains the protocol version 1 RSA authentication identity of the user.
.It Pa $HOME/.ssh/id_dsa
Contains the protocol version 2 DSA authentication identity of the user.
.It Pa $HOME/.ssh/id_rsa
Contains the protocol version 2 RSA authentication identity of the user.
.El
.Pp
Identity files should not be readable by anyone but the user.
Note that
.Nm
ignores identity files if they are accessible by others.
.Sh ENVIRONMENT .Sh ENVIRONMENT
.Bl -tag -width Ds .Bl -tag -width Ds
.It Ev "DISPLAY" and "SSH_ASKPASS" .It Ev "DISPLAY" and "SSH_ASKPASS"
@ -152,11 +138,30 @@ to make this work.)
Identifies the path of a unix-domain socket used to communicate with the Identifies the path of a unix-domain socket used to communicate with the
agent. agent.
.El .El
.Sh FILES
.Bl -tag -width Ds
.It Pa $HOME/.ssh/identity
Contains the protocol version 1 RSA authentication identity of the user.
.It Pa $HOME/.ssh/id_dsa
Contains the protocol version 2 DSA authentication identity of the user.
.It Pa $HOME/.ssh/id_rsa
Contains the protocol version 2 RSA authentication identity of the user.
.El
.Pp
Identity files should not be readable by anyone but the user.
Note that
.Nm
ignores identity files if they are accessible by others.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
Exit status is 0 on success, 1 if the specified command fails, Exit status is 0 on success, 1 if the specified command fails,
and 2 if and 2 if
.Nm .Nm
is unable to contact the authentication agent. is unable to contact the authentication agent.
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr ssh-agent 1 ,
.Xr ssh-keygen 1 ,
.Xr sshd 8
.Sh AUTHORS .Sh AUTHORS
OpenSSH is a derivative of the original and free OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen. ssh 1.2.12 release by Tatu Ylonen.
@ -166,8 +171,3 @@ removed many bugs, re-added newer features and
created OpenSSH. created OpenSSH.
Markus Friedl contributed the support for SSH Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0. protocol versions 1.5 and 2.0.
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr ssh-agent 1 ,
.Xr ssh-keygen 1 ,
.Xr sshd 8

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-agent.1,v 1.38 2003/05/14 13:11:56 jmc Exp $ .\" $OpenBSD: ssh-agent.1,v 1.39 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi> .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -179,6 +179,11 @@ authentication agent.
These sockets should only be readable by the owner. These sockets should only be readable by the owner.
The sockets should get automatically removed when the agent exits. The sockets should get automatically removed when the agent exits.
.El .El
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr ssh-add 1 ,
.Xr ssh-keygen 1 ,
.Xr sshd 8
.Sh AUTHORS .Sh AUTHORS
OpenSSH is a derivative of the original and free OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen. ssh 1.2.12 release by Tatu Ylonen.
@ -188,8 +193,3 @@ removed many bugs, re-added newer features and
created OpenSSH. created OpenSSH.
Markus Friedl contributed the support for SSH Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0. protocol versions 1.5 and 2.0.
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr ssh-add 1 ,
.Xr ssh-keygen 1 ,
.Xr sshd 8

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keygen.1,v 1.58 2003/05/20 12:09:31 jmc Exp $ .\" $OpenBSD: ssh-keygen.1,v 1.59 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" -*- nroff -*- .\" -*- nroff -*-
.\" .\"
@ -285,15 +285,6 @@ on all machines
where the user wishes to log in using public key authentication. where the user wishes to log in using public key authentication.
There is no need to keep the contents of this file secret. There is no need to keep the contents of this file secret.
.El .El
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.
.Sh SEE ALSO .Sh SEE ALSO
.Xr ssh 1 , .Xr ssh 1 ,
.Xr ssh-add 1 , .Xr ssh-add 1 ,
@ -307,3 +298,12 @@ protocol versions 1.5 and 2.0.
.%D March 2001 .%D March 2001
.%O work in progress material .%O work in progress material
.Re .Re
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keyscan.1,v 1.16 2003/05/12 18:35:18 markus Exp $ .\" $OpenBSD: ssh-keyscan.1,v 1.17 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. .\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
.\" .\"
@ -103,24 +103,6 @@ On the other hand, if the security model allows such a risk,
.Nm .Nm
can help in the detection of tampered keyfiles or man in the middle can help in the detection of tampered keyfiles or man in the middle
attacks which have begun after the ssh_known_hosts file was created. attacks which have begun after the ssh_known_hosts file was created.
.Sh EXAMPLES
.Pp
Print the
.Pa rsa1
host key for machine
.Pa hostname :
.Bd -literal
$ ssh-keyscan hostname
.Ed
.Pp
Find all hosts from the file
.Pa ssh_hosts
which have new or different keys from those in the sorted file
.Pa ssh_known_hosts :
.Bd -literal
$ ssh-keyscan -t rsa,dsa -f ssh_hosts | \e\
sort -u - ssh_known_hosts | diff ssh_known_hosts -
.Ed
.Sh FILES .Sh FILES
.Pa Input format: .Pa Input format:
.Bd -literal .Bd -literal
@ -145,16 +127,33 @@ or
.Dq ssh-dss . .Dq ssh-dss .
.Pp .Pp
.Pa /etc/ssh/ssh_known_hosts .Pa /etc/ssh/ssh_known_hosts
.Sh EXAMPLES
Print the
.Pa rsa1
host key for machine
.Pa hostname :
.Bd -literal
$ ssh-keyscan hostname
.Ed
.Pp
Find all hosts from the file
.Pa ssh_hosts
which have new or different keys from those in the sorted file
.Pa ssh_known_hosts :
.Bd -literal
$ ssh-keyscan -t rsa,dsa -f ssh_hosts | \e
sort -u - ssh_known_hosts | diff ssh_known_hosts -
.Ed
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr sshd 8
.Sh AUTHORS
.An David Mazieres Aq dm@lcs.mit.edu
wrote the initial version, and
.An Wayne Davison Aq wayned@users.sourceforge.net
added support for protocol version 2.
.Sh BUGS .Sh BUGS
It generates "Connection closed by remote host" messages on the consoles It generates "Connection closed by remote host" messages on the consoles
of all the machines it scans if the server is older than version 2.9. of all the machines it scans if the server is older than version 2.9.
This is because it opens a connection to the ssh port, reads the public This is because it opens a connection to the ssh port, reads the public
key, and drops the connection as soon as it gets the key. key, and drops the connection as soon as it gets the key.
.Sh SEE ALSO
.Xr ssh 1 ,
.Xr sshd 8
.Sh AUTHORS
David Mazieres <dm@lcs.mit.edu>
wrote the initial version, and
Wayne Davison <wayned@users.sourceforge.net>
added support for protocol version 2.

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-keysign.8,v 1.6 2003/03/28 10:11:43 jmc Exp $ .\" $OpenBSD: ssh-keysign.8,v 1.7 2003/06/10 09:12:11 jmc Exp $
.\" .\"
.\" Copyright (c) 2002 Markus Friedl. All rights reserved. .\" Copyright (c) 2002 Markus Friedl. All rights reserved.
.\" .\"
@ -74,9 +74,9 @@ must be set-uid root if hostbased authentication is used.
.Xr ssh-keygen 1 , .Xr ssh-keygen 1 ,
.Xr ssh_config 5 , .Xr ssh_config 5 ,
.Xr sshd 8 .Xr sshd 8
.Sh AUTHORS
Markus Friedl <markus@openbsd.org>
.Sh HISTORY .Sh HISTORY
.Nm .Nm
first appeared in first appeared in
.Ox 3.2 . .Ox 3.2 .
.Sh AUTHORS
.An Markus Friedl Aq markus@openbsd.org

23
ssh.1
View File

@ -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.172 2003/05/20 12:09:31 jmc Exp $ .\" $OpenBSD: ssh.1,v 1.173 2003/06/10 09:12:11 jmc Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSH 1 .Dt SSH 1
.Os .Os
@ -922,7 +922,8 @@ or
.Xr rsh 1 . .Xr rsh 1 .
.It Pa /etc/hosts.equiv .It Pa /etc/hosts.equiv
This file is used during This file is used during
.Pa \&.rhosts authentication. .Pa \&.rhosts
authentication.
It contains It contains
canonical hosts names, one per line (the full format is described on canonical hosts names, one per line (the full format is described on
the the
@ -964,15 +965,6 @@ above.
.Nm .Nm
exits with the exit status of the remote command or with 255 exits with the exit status of the remote command or with 255
if an error occurred. if an error occurred.
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.
.Sh SEE ALSO .Sh SEE ALSO
.Xr rsh 1 , .Xr rsh 1 ,
.Xr scp 1 , .Xr scp 1 ,
@ -995,3 +987,12 @@ protocol versions 1.5 and 2.0.
.%D January 2002 .%D January 2002
.%O work in progress material .%O work in progress material
.Re .Re
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.

View File

@ -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_config.5,v 1.12 2003/06/02 08:31:10 jakob Exp $ .\" $OpenBSD: ssh_config.5,v 1.13 2003/06/10 09:12:12 jmc Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
@ -664,6 +664,8 @@ values that are not specified in the user's configuration file, and
for those users who do not have a configuration file. for those users who do not have a configuration file.
This file must be world-readable. This file must be world-readable.
.El .El
.Sh SEE ALSO
.Xr ssh 1
.Sh AUTHORS .Sh AUTHORS
OpenSSH is a derivative of the original and free OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen. ssh 1.2.12 release by Tatu Ylonen.
@ -673,5 +675,3 @@ removed many bugs, re-added newer features and
created OpenSSH. created OpenSSH.
Markus Friedl contributed the support for SSH Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0. protocol versions 1.5 and 2.0.
.Sh SEE ALSO
.Xr ssh 1

24
sshd.8
View File

@ -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: sshd.8,v 1.197 2003/05/20 12:09:32 jmc Exp $ .\" $OpenBSD: sshd.8,v 1.198 2003/06/10 09:12:12 jmc Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
@ -771,17 +771,6 @@ This can be used to specify
machine-specific login-time initializations globally. machine-specific login-time initializations globally.
This file should be writable only by root, and should be world-readable. This file should be writable only by root, and should be world-readable.
.El .El
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.
Niels Provos and Markus Friedl contributed support
for privilege separation.
.Sh SEE ALSO .Sh SEE ALSO
.Xr scp 1 , .Xr scp 1 ,
.Xr sftp 1 , .Xr sftp 1 ,
@ -813,3 +802,14 @@ for privilege separation.
.%D January 2002 .%D January 2002
.%O work in progress material .%O work in progress material
.Re .Re
.Sh AUTHORS
OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen.
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song
removed many bugs, re-added newer features and
created OpenSSH.
Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0.
Niels Provos and Markus Friedl contributed support
for privilege separation.

View File

@ -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: sshd_config.5,v 1.18 2003/06/02 09:17:34 markus Exp $ .\" $OpenBSD: sshd_config.5,v 1.19 2003/06/10 09:12:12 jmc Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSHD_CONFIG 5 .Dt SSHD_CONFIG 5
.Os .Os
@ -660,7 +660,7 @@ display server may be exposed to attack when the ssh client requests
forwarding (see the warnings for forwarding (see the warnings for
.Cm ForwardX11 .Cm ForwardX11
in in
.Xr ssh_config 5 ). .Xr ssh_config 5 ) .
A system administrator may have a stance in which they want to A system administrator may have a stance in which they want to
protect clients that may expose themselves to attack by unwittingly protect clients that may expose themselves to attack by unwittingly
requesting X11 forwarding, which can warrant a requesting X11 forwarding, which can warrant a
@ -706,7 +706,6 @@ The default is
.Pa /usr/X11R6/bin/xauth . .Pa /usr/X11R6/bin/xauth .
.El .El
.Ss Time Formats .Ss Time Formats
.Pp
.Nm sshd .Nm sshd
command-line arguments and configuration file options that specify time command-line arguments and configuration file options that specify time
may be expressed using a sequence of the form: may be expressed using a sequence of the form:
@ -755,6 +754,8 @@ Contains configuration data for
This file should be writable by root only, but it is recommended This file should be writable by root only, but it is recommended
(though not necessary) that it be world-readable. (though not necessary) that it be world-readable.
.El .El
.Sh SEE ALSO
.Xr sshd 8
.Sh AUTHORS .Sh AUTHORS
OpenSSH is a derivative of the original and free OpenSSH is a derivative of the original and free
ssh 1.2.12 release by Tatu Ylonen. ssh 1.2.12 release by Tatu Ylonen.
@ -766,5 +767,3 @@ Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0. protocol versions 1.5 and 2.0.
Niels Provos and Markus Friedl contributed support Niels Provos and Markus Friedl contributed support
for privilege separation. for privilege separation.
.Sh SEE ALSO
.Xr sshd 8