So I was thinking of writing a utility for deploying an application running in docker on a remote system through ssh and came across this crate. It looks to me like this could go well with this crate https://docs.rs/openssh/latest/openssh/index.html#.
What do you think about this approach? Do you think it would be sensible to modify this library to work with both std::process::Command and openssh::process::Command?
Oh. I figured out that docker cli has -H parameter that may be used for connecting to daemon using ssh. Using openssh command does not make sense then as this may be implemented just by using one more argument.
So I was thinking of writing a utility for deploying an application running in docker on a remote system through ssh and came across this crate. It looks to me like this could go well with this crate https://docs.rs/openssh/latest/openssh/index.html#.
What do you think about this approach? Do you think it would be sensible to modify this library to work with both
std::process::Command
andopenssh::process::Command
?