parallel-ssh
parallel-ssh copied to clipboard
Implement agent forwarding
Enable ssh agent forwarding. That is all
PRs welcome.
What library/package is blocking its implementation upstream? This can give me a was to investigate if other tools have the same issue and potentially give implementation a shot down the line.
For libssh2 (pssh.clients.native client), agent forwarding does not work yet. Blocked by 535.
For libssh (pssh.clients.ssh client), forwarding is supported but not fully implemented in bindings.
To implement it for the libssh client would need:
- Callback support in ssh-python for open request auth agent requests from server - implement callbacks.
- Implement agent forwarding in parallel-ssh client
The client needs to:
- Request agent forwarding on a channel and provide a callback function to be called when the server requests to open the remote (the client's) auth agent
- Write the local to the client agent's data via the callback by reading from the
$SSH_AUTH_SOCKsocket