Great. Works for me. Thanks a lot!
- alerosmile
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
!`...`
pattern with embedded !K
to execute a local command that takes a key path and outputs what you need based on it. For your scenario, simple if
command of cmd
would do. Like this:
!`cmd /c if not "!K"=="" echo -k !K`
... -k !K
). If the session does not have a private key configured, the application starts with the -k
option alone. That application fails to start because the expected key file is not present on the command line. Is there a way to configure the terminal client path depending on whether the session has a key or not?