Replies: 1 comment
-
Yeah, I have aws cli installed via python and it's the same thing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying my first "real" Rust project; I want to be able to SSH into a private EC2 instance using EC2 Instance Connect.
I have most of the first "dots" connected; I am able to query AWS to get the instance's subnet, az, etc. I am able to generate an SSH keypair, and send the public key to AWS, apparently successfully.
In the fine documentation, it has an example of invoking openssh:
The
open-tunnel
functionality does not appear to be implemented in the Rust SDK (nor in the Go SDK, IIRC). Reading some of the CLI code (and here), it feels like it's essentially using a websocket..., something I have no practical experience with.Is this something that may be coming in a future revision of the Rust SDK? Is this a "no-brainer", and if so, can someone point me to a reasonable websockets library that I can use? I figure that I can use the above code to sort out the endpoints, etc -- assuming that those are not considered "internals" and subject to change?
Thanks for any help && pointers!
Beta Was this translation helpful? Give feedback.
All reactions