-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Podman over ssh remote connection #142
Comments
Also, the golang library is called bindings and it's in the |
Thank you for the report, that is indeed an interesting idea. It would probably require creating some sort of compatibility wrapper for ssh connection that would implement the |
I agree, I will explore more the go code and come back with hopefully how they implemented on their side |
The way podman does is with a full abstraction of the http client to use ssh https://github.com/containers/podman/blob/main/pkg/bindings/connection.go#L94 |
there is a stream struct on the ssh2 library https://docs.rs/ssh2/latest/ssh2/struct.Stream.html |
A way we could do it is to abstract the hole http client struct and use different clients for different use cases 🤔 |
I think this is necessary for supporting macOS as I think it works by connecting to a virtual machine over ssh.
|
Hello there, good day!
At work, I use Golang with podman, and they have a way to connect to other machines securely through ssh tcp streams. I think it would be a great addition to this library as well :)
Here is the ssh library I found that supports the stream pass-through.
Here are some connection examples:
Then this library would parse and choose the most appropriate one for the job.
I haven't explored this codebase enough to see how much work It would take, so If you need any help, please let me know
The text was updated successfully, but these errors were encountered: