ssh_config way to run command before connecting or "around" the connection?

Christoph Anton Mitterer calestyo at scientia.net
Fri Oct 31 10:56:57 EST 2014


Hi.

Is there a way via ssh_config (i.e. not talking about shell script
wrappers around ssh, which of course could somehow do the job) to start
a command before ssh connects?

I think about e.g. a command (or series of commands) that does provide
the necessary credentials (e.g. kinit, aklog) or perhaps does some port
knocking on the remote server to open up ssh.


Even better would be (well especially with looking at kerberos) to have
and additional option to have the actual session process started by
another command, e.g. k5start[0] or krenew[0].
That would make it much easier to handle connections that go to
different realms.


Perhaps at least the later can be done with ProxyCommand?


Thanks,
Chris.


[0] http://www.eyrie.org/~eagle/software/kstart/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20141031/6c50b44f/attachment.bin>


More information about the openssh-unix-dev mailing list