Is it possible to login with RemoteCommand defined #1130
Closed
kemeris2000
started this conversation in
General
Replies: 1 comment 5 replies
-
Hello @kemeris2000, looking at the doc this is not currently supported, but since Possibly a dud, but you might be able to achieve this by specifying a custom transport_factory that wraps the default Transport implem and executes your desired connect command before returning the session to the caller. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I connect to all provisioned VM's via jumphost which forward connections to VM's vsocket based on SSH Remote Command like this:
ssh root@jumphost 127
in this example remote command "127" is VM ID and jumphost forward connection to corresponding vsocket VM is listening to.
Is it possible to set SSH RemoteCommand parameter for login in pyinfra?
Beta Was this translation helpful? Give feedback.
All reactions