class documentation
class PLinkSSHVendor(SSHVendor):
SSH vendor that shells out to the local 'plink' command.
| Method | run |
Run a git command over SSH using PLink. |
def run_command(self, host:
str, command: bytes, username: str | None = None, port: int | None = None, password: str | None = None, key_filename: str | None = None, ssh_command: str | None = None, protocol_version: int | None = None) -> SubprocessWrapper:
ΒΆ
overrides
dulwich.client.SSHVendor.run_commandRun a git command over SSH using PLink.
| Parameters | |
host:str | SSH host to connect to |
command:bytes | Git command to run |
username:str | None | Optional username |
port:int | None | Optional port number |
password:str | None | Optional password |
keystr | None | Optional SSH key file |
sshstr | None | Optional custom SSH command |
protocolint | None | Optional Git protocol version |
| Returns | |
SubprocessWrapper | Tuple of (subprocess.Popen, Protocol, stderr_stream) |