bind-to-interface option

Luca Boccassi luca.boccassi at gmail.com
Tue Oct 3 02:44:47 AEDT 2017


On Sun, 22 Nov 2015, David Ahern wrote:
> Hi:
> 
> The openssh suite of commands have an option to specify address (e.g, 
> ListenAddress for sshd) but I do not see support for bind-to-interface.
> 
> The motivating use case for me is using openssh commands (sshd, ssh, 
> scp, sftp) with the recent VRF capability added to the Linux kernel. The 
> VRF design relies on the bind-to-interface option to select the correct 
> routing tables. Before I started working on patches I wanted to get a 
> sense of whether it would be accepted.
> 
> Thanks,
> David

Hi,

I've opened an enhancement ticket on Bugzilla and attached a patch [1],
a simple test shows that it's working as intended. Feedback is most
welcome. Thanks!

-- 
Kind regards,
Luca Boccassi

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2784


More information about the openssh-unix-dev mailing list