Paramiko for hermetic SSH connections #1527
mattyclarkson
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
We evaluated this in 2016 when labgrid was initially written. Paramiko AFAICS still has no support for the control socket infrastructure where connections are multiplexed over one initial connection. Background was that we wanted labgrid to reuse an existing open connection to the target if possible. This was important to us then, but might not be as important now, unfortunately I don't know how much this feature is used currently. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the
SSHDriver
calls out to thessh
binary to perform SSH connections.paramiko is a pure Python library for providing SSH connections.
We could use paramiko in the
SSHDriver
to remove the need for a host installedssh
. Another option would be aParamikoDriver
that performs the same asSSHDriver
but with paramiko.labgrid-client ssh
naturally forwards on arguments to the hostssh
so would likely stay that way.Would be of interest to project to investigate usage of
paramiko
?Beta Was this translation helpful? Give feedback.
All reactions