openSSH 5.8p2 BindPort patch

Darren Tucker dtucker at
Tue Jul 19 16:31:45 EST 2011

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