You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dulwich-discuss
Hello,
I am looking to use Dulwich as part of a tool that will do automated updates to repos. I am assuming that somewhere under the hood, Dulwich uses my ssh keys to access private repos, but I haven't been able to find anyting that lets me configure where the keys are, or alternate means of authentication.
Could someone clarify how that all works to me?
Thanks!
Jelmer Vernooij
unread,
Jul 19, 2017, 6:12:15 PM7/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nathan Menge, dulwich-discuss
Hi Nathan,
The Dulwich SSH client implementation lives in
dulwich.client.SSHGitClient. At the moment it supports two different
mechanisms for calling out to SSH:
* via subprocess ("dulwich.client.SubprocessSSHVendor"). This simply
invokes ssh with a username/host, possibly a port, and a command.
* via paramiko; there is a contributed paramiko wrapper in
dulwich.contrib.paramiko_vendor - https://github.com/paramiko/paramiko
To override the default behaviour for invoking "ssh", you could make a
copy of SubprocessSSHVendor and tweak it to pass different arguments
and set dulwich.client.get_ssh_vendor to your new class.