-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
Eugeny
Jul 3, 2024
Replies: 1 comment 5 replies
-
You might wanna check out Warpgate, a project in the same GitHub org as russh, which does exactly what you're describing using russh |
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
It's impossible to single it out as a small example, but Warpgate is just creating an Russh server (https://github.com/warp-tech/warpgate/blob/main/warpgate-protocol-ssh/src/server/russh_handler.rs), waiting for a client to connect, and then opens its own Russh client connection (https://github.com/warp-tech/warpgate/blob/main/warpgate-protocol-ssh/src/client/mod.rs) and then forwards operations between the two