summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 11:30:13 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 11:30:13 +1100
commit3ec54c7e58eb9724a5d54d3e985992ebecbd7553 (patch)
tree9a7375bf97b372c7c40adf647aeead006fa912c1 /ssh_config.5
parent3fd019ecca7d41702111f926f08e370946cf9060 (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.56
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
307to disable connection sharing. 307to disable connection sharing.
308In the path, 308In the path,
309.Ql %l
310will be substituted by the local host name,
309.Ql %h 311.Ql %h
310will be substituted by the target host name, 312will be substituted by the target host name,
311.Ql %p 313.Ql %p
@@ -315,7 +317,7 @@ by the remote login username.
315It is recommended that any 317It is recommended that any
316.Cm ControlPath 318.Cm ControlPath
317used for opportunistic connection sharing include 319used for opportunistic connection sharing include
318all three of these escape sequences. 320at least the last three of these escape sequences (%h, %p and %r).
319This ensures that shared connections are uniquely identified. 321This ensures that shared connections are uniquely identified.
320.It Cm DynamicForward 322.It Cm DynamicForward
321Specifies that a TCP port on the local machine be forwarded 323Specifies that a TCP port on the local machine be forwarded