[CentOS] Re: SSH remote port forward

Ugo Bellavance ugob at lubik.ca
Wed Jun 13 03:48:06 UTC 2007

Tony Mountifield wrote:
> In article <f4n424$j1n$1 at sea.gmane.org>, Ugo Bellavance <ugob at lubik.ca> wrote:
>> Hi,
>> 	I'm trying to do a remote port forward, and the remote hosts only 
>> listens to on the forwarded port.
> You can't control that from the client end, as it could be a security risk
> for the remote installation.

Makes sense.

> If the remote host is under your control and is running sshd from OpenSSH,
> you can add the following directive to /etc/ssh/sshd_config on that system:
> GatewayPorts yes
> That will tell the sshd to make forwarded ports listen on instead
> of on

Excellent, thanks for the help it now works ! :).


More information about the CentOS mailing list