diff options
author | djm@openbsd.org <djm@openbsd.org> | 2014-10-08 22:20:25 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-10-13 11:41:48 +1100 |
commit | 957fbceb0f3166e41b76fdb54075ab3b9cc84cba (patch) | |
tree | 7c8bc1f0090201400383e51d84a7fda79995e513 /ssh.1 | |
parent | 5c0dafd38bf66feeeb45fa0741a5baf5ad8039ba (diff) |
upstream commit
Tweak config reparsing with host canonicalisation
Make the second pass through the config files always run when
hostname canonicalisation is enabled.
Add a "Match canonical" criteria that allows ssh_config Match
blocks to trigger only in the second config pass.
Add a -G option to ssh that causes it to parse its configuration
and dump the result to stdout, similar to "sshd -T"
Allow ssh_config Port options set in the second config parse
phase to be applied (they were being ignored).
bz#2267 bz#2286; ok markus
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -33,8 +33,8 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: ssh.1,v 1.349 2014/08/30 15:33:50 sobrado Exp $ | 36 | .\" $OpenBSD: ssh.1,v 1.350 2014/10/08 22:20:25 djm Exp $ |
37 | .Dd $Mdocdate: August 30 2014 $ | 37 | .Dd $Mdocdate: October 8 2014 $ |
38 | .Dt SSH 1 | 38 | .Dt SSH 1 |
39 | .Os | 39 | .Os |
40 | .Sh NAME | 40 | .Sh NAME |
@@ -43,7 +43,7 @@ | |||
43 | .Sh SYNOPSIS | 43 | .Sh SYNOPSIS |
44 | .Nm ssh | 44 | .Nm ssh |
45 | .Bk -words | 45 | .Bk -words |
46 | .Op Fl 1246AaCfgKkMNnqsTtVvXxYy | 46 | .Op Fl 1246AaCfgGKkMNnqsTtVvXxYy |
47 | .Op Fl b Ar bind_address | 47 | .Op Fl b Ar bind_address |
48 | .Op Fl c Ar cipher_spec | 48 | .Op Fl c Ar cipher_spec |
49 | .Op Fl D Oo Ar bind_address : Oc Ns Ar port | 49 | .Op Fl D Oo Ar bind_address : Oc Ns Ar port |
@@ -251,6 +251,14 @@ then a client started with | |||
251 | .Fl f | 251 | .Fl f |
252 | will wait for all remote port forwards to be successfully established | 252 | will wait for all remote port forwards to be successfully established |
253 | before placing itself in the background. | 253 | before placing itself in the background. |
254 | .It Fl G | ||
255 | Causes | ||
256 | .Nm | ||
257 | to print its configuration after evaluating | ||
258 | .Cm Host | ||
259 | and | ||
260 | .Cm Match | ||
261 | blocks and exit. | ||
254 | .It Fl g | 262 | .It Fl g |
255 | Allows remote hosts to connect to local forwarded ports. | 263 | Allows remote hosts to connect to local forwarded ports. |
256 | If used on a multiplexed connection, then this option must be specified | 264 | If used on a multiplexed connection, then this option must be specified |