[clientloop.c ssh.1]
     use -KR[bind_address:]port here; ok djm@
This commit is contained in:
Damien Miller 2006-07-10 20:20:52 +10:00
parent 427a1d57bb
commit 57e8ad3f5e
3 changed files with 10 additions and 5 deletions

View File

@ -20,6 +20,9 @@
[groupaccess.c groupaccess.h includes.h session.c sftp-common.c sshpty.c] [groupaccess.c groupaccess.h includes.h session.c sftp-common.c sshpty.c]
move #include <grp.h> out of includes.h move #include <grp.h> out of includes.h
(portable needed uidswap.c too) (portable needed uidswap.c too)
- stevesk@cvs.openbsd.org 2006/07/02 23:01:55
[clientloop.c ssh.1]
use -KR[bind_address:]port here; ok djm@
20060706 20060706
- (dtucker) [configure.ac] Try AIX blibpath test in different order when - (dtucker) [configure.ac] Try AIX blibpath test in different order when
@ -4753,4 +4756,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4364 2006/07/10 10:20:33 djm Exp $ $Id: ChangeLog,v 1.4365 2006/07/10 10:20:52 djm Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: clientloop.c,v 1.164 2006/06/26 10:36:15 djm Exp $ */ /* $OpenBSD: clientloop.c,v 1.165 2006/07/02 23:01:55 stevesk 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
@ -929,7 +929,7 @@ process_cmdline(void)
"Request local forward"); "Request local forward");
logit(" -R[bind_address:]port:host:hostport " logit(" -R[bind_address:]port:host:hostport "
"Request remote forward"); "Request remote forward");
logit(" -KR[bind_address:]hostport " logit(" -KR[bind_address:]port "
"Cancel remote forward"); "Cancel remote forward");
if (!options.permit_local_command) if (!options.permit_local_command)
goto out; goto out;

6
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.261 2006/07/02 17:12:58 stevesk Exp $ .\" $OpenBSD: ssh.1,v 1.262 2006/07/02 23:01:55 stevesk Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSH 1 .Dt SSH 1
.Os .Os
@ -885,7 +885,9 @@ and
options (see above). options (see above).
It also allows the cancellation of existing remote port-forwardings It also allows the cancellation of existing remote port-forwardings
using using
.Fl KR Ar hostport . .Sm off
.Fl KR Oo Ar bind_address : Oc Ar port .
.Sm on
.Ic !\& Ns Ar command .Ic !\& Ns Ar command
allows the user to execute a local command if the allows the user to execute a local command if the
.Ic PermitLocalCommand .Ic PermitLocalCommand