[Bug 3285] New: Wrong documentation on -D The bind_address
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sun Mar 21 19:45:19 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3285
Bug ID: 3285
Summary: Wrong documentation on -D The bind_address
Product: Portable OpenSSH
Version: 8.5p1
Hardware: All
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: Documentation
Assignee: unassigned-bugs at mindrot.org
Reporter: dewijones92 at gmail.com
The man page says this:
The bind_address of “localhost” indicates that the listening port be
bound for local use only, while an empty address or ‘*’ indicates that
the port should be available from all interfaces.
However each of the following commands results in a different interface
binding
./ssh -D 1337 -vvvv -C -N dewi at 192.168.1.1
tcp LISTEN 0 128
127.0.0.1:1337 0.0.0.0:*
users:(("ssh",pid=75605,fd=5)) uid:1000 ino:336020 sk:474 <->
./ssh -D *:1337 -vvvv -C -N dewi at 192.168.1.1
tcp LISTEN 0 128
0.0.0.0:1337 0.0.0.0:*
users:(("ssh",pid=74357,fd=4)) uid:1000 ino:320497 sk:464 <->
So many the documentation should be different? or the code?
Many thanks
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list