pyinfra
pyinfra copied to clipboard
Investigate adding @ssh2 connector
Uses libssh2 C for extreme performance: https://github.com/ParallelSSH/ssh2-python.
Note this does not support everything paramiko does, but makes for an interesting performance experiment.
Gonna close this for now - paramiko is already really quick and this might offer some improvement but:
- the upstream package looks somewhat abandoned now
- it doesn't support all the options paramiko/pyinfra now do (proxyjumping/etc)
Happy to review PRs if anyone is keen on this, should be pretty simple to do!
Reopening per #1387 (+others). Worth whipping together a MVP for this I think, shouldn't be too hard.