openSSH 5.8p2 BindPort patch

Rory McNamara at
Tue Jul 19 20:42:00 EST 2011

Surely that would be slower, becuase the data has to pass through a
pipe to get to nc? and also, in my specific use case, i need to use
ProxyCommand for corkscrew to pass through a proxy with ntlm auth.


P.S I'm new to mailing lists, do i click 'Reply', or 'Reply to all'?

On Tue, Jul 19, 2011 at 7:31 AM, Darren Tucker <dtucker at> wrote:
> On Mon, Jul 18, 2011 at 6:10 AM, Rory McNamara
> < at> wrote:
>> Hi, i have written a patch for openSSH 5.8p2 which allows the user to
>> set the local source port. The patch is as follows:
> Note that you can also do this with a suitable ProxyCommand (eg
> openbsd's netcat):
> Host somehost
>  ProxyCommand nc -p 1234 -s %h %p
> --
> Darren Tucker (dtucker at
> GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
>     Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.

More information about the openssh-unix-dev mailing list