Feature request: "SetupCommand" invoked before connecting
djm at mindrot.org
Thu Jul 9 13:54:18 EST 2009
On Thu, 9 Jul 2009, Helmut Grohne wrote:
> Sample Implementation:
> I propose adding a new configuration item "SetupCommand" for the ssh
> client software. It would accept a string that is treated exactly the
> same as LocalCommand. As with LocalCommand it should also be ignored
> when PermitLocalCommand is disabled. Otherwise the command should be
> executed right before connecting to the server.
If you need to do work before a ssh session, why not just make a shell
script and, optionally, alias ssh to point to your shell script?
More information about the openssh-unix-dev