diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 19 |
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 | |||
606 | connecting to the server. | 606 | connecting to the server. |
607 | The command string extends to the end of the line, and is executed with | 607 | The command string extends to the end of the line, and is executed with |
608 | the user's shell. | 608 | the user's shell. |
609 | The 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). | ||
609 | This directive is ignored unless | 624 | This directive is ignored unless |
610 | .Cm PermitLocalCommand | 625 | .Cm PermitLocalCommand |
611 | has been enabled. | 626 | has been enabled. |