6 ms·
I attempted doing this initially. Everything is very doable except SSH. One would have to rely on third-party libraries to do this well.
by basnijholt 3y ago
I attempted doing this initially. Everything is very doable except SSH. One would have to rely on third-party libraries to do this well.
- sgarland 3y agoAre you open to a single dependency [0]? Entirely native tooling is an admirable thing that I greatly appreciate, but parsing subprocess output is fraught with issues (I know, I've done this as well). [0]: https://github.com/ParallelSSH/ssh-python https://github.com/ParallelSSH/ssh-python
- memco 3y agoI’ve used paramiko for this also: https://www.paramiko.org/ https://www.paramiko.org/.