bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-12 08:29 UTC
[Bug 1280] LocalCommand and variables
https://bugzilla.mindrot.org/show_bug.cgi?id=1280
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Blocks| |1452
--- Comment #1 from Damien Miller <djm at mindrot.org> 2008-06-12
18:29:36 ---
Put this on the list for openssh-5.1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-13 21:41 UTC
[Bug 1280] LocalCommand and variables
https://bugzilla.mindrot.org/show_bug.cgi?id=1280
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|Other |All
OS/Version|Linux |All
Status|NEW |RESOLVED
Resolution| |FIXED
CC| |dtucker at zip.com.au
--- Comment #2 from Darren Tucker <dtucker at zip.com.au> 2008-06-14
07:41:16 ---
This has now been added and will be in the next release (5.1).
LocalCommand
Specifies a command to execute on the local machine after suc-
cessfully connecting to the server. The command string extends
to the end of the line, and is executed with the user's shell.
The following escape character substitutions will be performed:
'%d' (local user's home directory), '%h' (remote host
name), '%l'
(local host name), '%n' (host name as provided on the command
line), '%p' (remote port), '%r' (remote user name) or
'%u' (local
user name). This directive is ignored unless PermitLocalCommand
has been enabled.
$ ssh -o LocalCommand='echo %u@%h %p' localhost true
dtucker at localhost 22
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.