- djm@cvs.openbsd.org 2010/08/04 05:37:01

[ssh.1 ssh_config.5 sshd.8]
     Remove mentions of weird "addr/port" alternate address format for IPv6
     addresses combinations. It hasn't worked for ages and we have supported
     the more commen "[addr]:port" format for a long time. ok jmc@ markus@
This commit is contained in:
Damien Miller 2010-08-05 13:03:13 +10:00
parent 081f3c73d8
commit 7fa96602e5
4 changed files with 21 additions and 47 deletions

View File

@ -1,3 +1,11 @@
20100905
- OpenBSD CVS Sync
- djm@cvs.openbsd.org 2010/08/04 05:37:01
[ssh.1 ssh_config.5 sshd.8]
Remove mentions of weird "addr/port" alternate address format for IPv6
addresses combinations. It hasn't worked for ages and we have supported
the more commen "[addr]:port" format for a long time. ok jmc@ markus@
20100903 20100903
- (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from - (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from
PAM to sane values in case the PAM method doesn't write to them. Spotted by PAM to sane values in case the PAM method doesn't write to them. Spotted by

33
ssh.1
View File

@ -34,8 +34,8 @@
.\" (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.307 2010/07/23 08:49:25 dtucker Exp $ .\" $OpenBSD: ssh.1,v 1.308 2010/08/04 05:37:01 djm Exp $
.Dd $Mdocdate: July 23 2010 $ .Dd $Mdocdate: August 4 2010 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -202,14 +202,7 @@ will act as a SOCKS server.
Only root can forward privileged ports. Only root can forward privileged ports.
Dynamic port forwardings can also be specified in the configuration file. Dynamic port forwardings can also be specified in the configuration file.
.Pp .Pp
IPv6 addresses can be specified with an alternative syntax: IPv6 addresses can be specified by enclosing the address in square brackets.
.Sm off
.Xo
.Op Ar bind_address No /
.Ar port
.Xc
.Sm on
or by enclosing the address in square brackets.
Only the superuser can forward privileged ports. Only the superuser can forward privileged ports.
By default, the local port is bound in accordance with the By default, the local port is bound in accordance with the
.Cm GatewayPorts .Cm GatewayPorts
@ -320,15 +313,7 @@ port
.Ar hostport .Ar hostport
from the remote machine. from the remote machine.
Port forwardings can also be specified in the configuration file. Port forwardings can also be specified in the configuration file.
IPv6 addresses can be specified with an alternative syntax: IPv6 addresses can be specified by enclosing the address in square brackets.
.Sm off
.Xo
.Op Ar bind_address No /
.Ar port No / Ar host No /
.Ar hostport
.Xc
.Sm on
or by enclosing the address in square brackets.
Only the superuser can forward privileged ports. Only the superuser can forward privileged ports.
By default, the local port is bound in accordance with the By default, the local port is bound in accordance with the
.Cm GatewayPorts .Cm GatewayPorts
@ -511,15 +496,7 @@ from the local machine.
Port forwardings can also be specified in the configuration file. Port forwardings can also be specified in the configuration file.
Privileged ports can be forwarded only when Privileged ports can be forwarded only when
logging in as root on the remote machine. logging in as root on the remote machine.
IPv6 addresses can be specified by enclosing the address in square braces or IPv6 addresses can be specified by enclosing the address in square braces.
using an alternative syntax:
.Sm off
.Xo
.Op Ar bind_address No /
.Ar host No / Ar port No /
.Ar hostport
.Xc .
.Sm on
.Pp .Pp
By default, the listening socket on the server will be bound to the loopback By default, the listening socket on the server will be bound to the loopback
interface only. interface only.

View File

@ -34,8 +34,8 @@
.\" (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.137 2010/07/19 09:15:12 djm Exp $ .\" $OpenBSD: ssh_config.5,v 1.138 2010/08/04 05:37:01 djm Exp $
.Dd $Mdocdate: July 19 2010 $ .Dd $Mdocdate: August 4 2010 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -351,9 +351,7 @@ The argument must be
.Sm off .Sm off
.Oo Ar bind_address : Oc Ar port . .Oo Ar bind_address : Oc Ar port .
.Sm on .Sm on
IPv6 addresses can be specified by enclosing addresses in square brackets or IPv6 addresses can be specified by enclosing addresses in square brackets.
by using an alternative syntax:
.Oo Ar bind_address Ns / Oc Ns Ar port .
By default, the local port is bound in accordance with the By default, the local port is bound in accordance with the
.Cm GatewayPorts .Cm GatewayPorts
setting. setting.
@ -678,11 +676,7 @@ The first argument must be
.Sm on .Sm on
and the second argument must be and the second argument must be
.Ar host : Ns Ar hostport . .Ar host : Ns Ar hostport .
IPv6 addresses can be specified by enclosing addresses in square brackets or IPv6 addresses can be specified by enclosing addresses in square brackets.
by using an alternative syntax:
.Oo Ar bind_address Ns / Oc Ns Ar port
and
.Ar host Ns / Ns Ar hostport .
Multiple forwardings may be specified, and additional forwardings can be Multiple forwardings may be specified, and additional forwardings can be
given on the command line. given on the command line.
Only the superuser can forward privileged ports. Only the superuser can forward privileged ports.
@ -862,11 +856,7 @@ The first argument must be
.Sm on .Sm on
and the second argument must be and the second argument must be
.Ar host : Ns Ar hostport . .Ar host : Ns Ar hostport .
IPv6 addresses can be specified by enclosing addresses in square brackets IPv6 addresses can be specified by enclosing addresses in square brackets.
or by using an alternative syntax:
.Oo Ar bind_address Ns / Oc Ns Ar port
and
.Ar host Ns / Ns Ar hostport .
Multiple forwardings may be specified, and additional Multiple forwardings may be specified, and additional
forwardings can be given on the command line. forwardings can be given on the command line.
Privileged ports can be forwarded only when Privileged ports can be forwarded only when

7
sshd.8
View File

@ -34,8 +34,8 @@
.\" (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.256 2010/05/07 11:30:30 djm Exp $ .\" $OpenBSD: sshd.8,v 1.257 2010/08/04 05:37:01 djm Exp $
.Dd $Mdocdate: May 7 2010 $ .Dd $Mdocdate: August 4 2010 $
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
.Sh NAME .Sh NAME
@ -595,8 +595,7 @@ Limit local
.Li ``ssh -L'' .Li ``ssh -L''
port forwarding such that it may only connect to the specified host and port forwarding such that it may only connect to the specified host and
port. port.
IPv6 addresses can be specified with an alternative syntax: IPv6 addresses can be specified by enclosing the address in square brackets.
.Ar host Ns / Ns Ar port .
Multiple Multiple
.Cm permitopen .Cm permitopen
options may be applied separated by commas. options may be applied separated by commas.