dulwich.contrib.paramiko_vendor module

Paramiko SSH support for Dulwich.

To use this implementation as the SSH implementation in Dulwich, override the dulwich.client.get_ssh_vendor attribute:

>>> from dulwich import client as _mod_client
>>> from dulwich.contrib.paramiko_vendor import ParamikoSSHVendor
>>> _mod_client.get_ssh_vendor = ParamikoSSHVendor

This implementation is experimental and does not have any tests.

class dulwich.contrib.paramiko_vendor.ParamikoSSHVendor(**kwargs)

Bases: object

run_command(host, command, username=None, port=None, password=None, pkey=None, key_filename=None, **kwargs)