summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-13 04:56:37 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-13 04:56:37 +1000
commitf6b01b758f4003a5cc59cf6a27afdc5123eb4fc4 (patch)
tree05a150e5907561fe53063cfef329007811d52756 /ssh_config.5
parent84c56f536ca664f79172d595e088fce6aa84be21 (diff)
- dtucker@cvs.openbsd.org 2008/06/12 16:35:31
[ssh_config.5 ssh.c] keyword expansion for localcommand. ok djm@
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.519
1 files changed, 17 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 8bcf323cc..98cd9ac5b 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,8 +34,8 @@
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.108 2008/06/11 23:03:56 grunk Exp $ 37.\" $OpenBSD: ssh_config.5,v 1.109 2008/06/12 16:35:31 dtucker Exp $
38.Dd $Mdocdate: June 11 2008 $ 38.Dd $Mdocdate: June 12 2008 $
39.Dt SSH_CONFIG 5 39.Dt SSH_CONFIG 5
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -606,6 +606,21 @@ Specifies a command to execute on the local machine after successfully
606connecting to the server. 606connecting to the server.
607The command string extends to the end of the line, and is executed with 607The command string extends to the end of the line, and is executed with
608the user's shell. 608the user's shell.
609The following escape character substitutions will be performed:
610.Ql %d
611(local user's home directory),
612.Ql %h
613(remote host name),
614.Ql %l
615(local host name),
616.Ql %n
617(host name as provided on the command line),
618.Ql %p
619(remote port),
620.Ql %r
621(remote user name) or
622.Ql %u
623(local user name).
609This directive is ignored unless 624This directive is ignored unless
610.Cm PermitLocalCommand 625.Cm PermitLocalCommand
611has been enabled. 626has been enabled.