-
I found out that I can use identity files to log in to a node of the cluster, without login into the cluster.
I want to optimize this to be used via ssh. So I created a
In order to test it, but I get an error:
According to the ssh ProxyCommand dokumentation, this should be possible. Did someone try to do something like this? Is this even possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 29 replies
-
You should be able to use
At this point, |
Beta Was this translation helpful? Give feedback.
tsh ssh
isn't designed to be used directly as aProxyCommand
because it does more than just forward stdin/stdout (which is what aProxyCommand
expects).You should be able to use
ssh
itself directly with its proxy subsystem:At this point,
ssh <IP>
by itself on the command line should work and can be used by Ansible/other tools which expect anssh
transport.