On 2020-08-27, Victor Ivanov <[email protected]> wrote: >> I want it to listen on 127.0.0.1 and on whatever IP addresses are >> assigned to two specified interfaces.
> As far as I'm aware, I don't think OpenSSH allows for listening on a > specific interface. I'm pretty sure that's the case. > You can, however, work around this in a rather unusual way via > ip/nftables and DNAT. Thanks, I should have known that was a problem that could be solved with netfilter. After all, netfilter is apparently turning-complete: http://sgros.blogspot.com/2011/09/implementing-turing-machine-using.html -- Grant

