Hello all,
We are starting to use Vault SSH OTP to access all of our servers. However, we have a problem. We use port forwarding quite a bit, but there seems no way to do it with vault ssh. Doing vault ssh -L says the -L option is not defined, and trying to enter SSH command mode (via <Enter>~C) just seems to hang the SSH session. Adding a LocalForward section to the Host section for the appropriate host in $HOME/.ssh/config does not work either.
The only thing I've found to work is to use SSH connection sharing via the ControlMaster setting in $HOME/.ssh/config, open a normal vault ssh connection, and then open another ssh session in the terminal. However, that is quite annoying.
Any ideas?
Thanks,
-Mario.