diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-02-23 02:34:33 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-02-23 13:37:49 +1100 |
commit | ac2e3026bbee1367e4cda34765d1106099be3287 (patch) | |
tree | 83d0a8e3b1edcc01b087feb6ea98d67ec8607179 /ssh_config.5 | |
parent | fcdb9d777839a3fa034b3bc3067ba8c1f6886679 (diff) | |
download | openssh-git-ac2e3026bbee1367e4cda34765d1106099be3287.tar.gz |
upstream: Add BindInterface ssh_config directive and -B
command-line argument to ssh(1) that directs it to bind its outgoing
connection to the address of the specified network interface.
BindInterface prefers to use addresses that aren't loopback or link-
local, but will fall back to those if no other addresses of the
required family are available on that interface.
Based on patch by Mike Manning in bz#2820, ok dtucker@
OpenBSD-Commit-ID: c5064d285c2851f773dd736a2c342aa384fbf713
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index a128e4f0..bdf41371 100644 --- a/ssh_config.5 +++ b/ssh_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.266 2018/02/16 02:40:45 djm Exp $ -.Dd $Mdocdate: February 16 2018 $ +.\" $OpenBSD: ssh_config.5,v 1.267 2018/02/23 02:34:33 djm Exp $ +.Dd $Mdocdate: February 23 2018 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -254,6 +254,13 @@ The argument must be or .Cm no (the default). +.It Cm BindInterface +Use the address of the specified interface on the local machine as the +source address of the connection. +Note that this option does not work if +.Cm UsePrivilegedPort +is set to +.Cm yes . .It Cm BindAddress Use the specified address on the local machine as the source address of the connection. |