diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-15 11:30:13 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-15 11:30:13 +1100 |
commit | 3ec54c7e58eb9724a5d54d3e985992ebecbd7553 (patch) | |
tree | 9a7375bf97b372c7c40adf647aeead006fa912c1 /ssh_config.5 | |
parent | 3fd019ecca7d41702111f926f08e370946cf9060 (diff) |
- djm@cvs.openbsd.org 2006/02/12 06:45:34
[ssh.c ssh_config.5]
add a %l expansion code to the ControlPath, which is filled in with the
local hostname at runtime. Requested by henning@ to avoid some problems
with /home on NFS; ok dtucker@
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 5c94ffc9c..5d821a0b1 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh_config.5,v 1.76 2006/01/20 11:21:45 jmc Exp $ | 37 | .\" $OpenBSD: ssh_config.5,v 1.77 2006/02/12 06:45:34 djm Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH_CONFIG 5 | 39 | .Dt SSH_CONFIG 5 |
40 | .Os | 40 | .Os |
@@ -306,6 +306,8 @@ section above or the string | |||
306 | .Dq none | 306 | .Dq none |
307 | to disable connection sharing. | 307 | to disable connection sharing. |
308 | In the path, | 308 | In the path, |
309 | .Ql %l | ||
310 | will be substituted by the local host name, | ||
309 | .Ql %h | 311 | .Ql %h |
310 | will be substituted by the target host name, | 312 | will be substituted by the target host name, |
311 | .Ql %p | 313 | .Ql %p |
@@ -315,7 +317,7 @@ by the remote login username. | |||
315 | It is recommended that any | 317 | It is recommended that any |
316 | .Cm ControlPath | 318 | .Cm ControlPath |
317 | used for opportunistic connection sharing include | 319 | used for opportunistic connection sharing include |
318 | all three of these escape sequences. | 320 | at least the last three of these escape sequences (%h, %p and %r). |
319 | This ensures that shared connections are uniquely identified. | 321 | This ensures that shared connections are uniquely identified. |
320 | .It Cm DynamicForward | 322 | .It Cm DynamicForward |
321 | Specifies that a TCP port on the local machine be forwarded | 323 | Specifies that a TCP port on the local machine be forwarded |