b.t.s.SubprocessVendor(SSHVendor) : class documentation

Part of bzrlib.transport.ssh View In Hierarchy

Known subclasses: bzrlib.transport.ssh.LSHSubprocessVendor, bzrlib.transport.ssh.OpenSSHSubprocessVendor, bzrlib.transport.ssh.PLinkSubprocessVendor, bzrlib.transport.ssh.SSHCorpSubprocessVendor

Abstract base class for vendors that use pipes to a subprocess.
Method connect_sftp Make an SSH connection, and return an SFTPClient.
Method connect_ssh Make an SSH connection.
Method _connect Undocumented
Method _get_vendor_specific_argv Returns the argument list to run the subprocess with.

Inherited from SSHVendor:

Method _raise_connection_error Raise a SocketConnectionError with properly formatted host.
def _connect(self, argv):
Undocumented
def connect_sftp(self, username, password, host, port):
Make an SSH connection, and return an SFTPClient.
Parametersusernamean ascii string
passwordan ascii string
hosta host name as an ascii string
porta port number (type: int)
Returns (type: paramiko.sftp_client.SFTPClient)
RaisesConnectionError if it cannot connect.
def connect_ssh(self, username, password, host, port, command):
Make an SSH connection.
Returnsan SSHConnection.
def _get_vendor_specific_argv(self, username, host, port, subsystem=None, command=None):
Returns the argument list to run the subprocess with.

Exactly one of 'subsystem' and 'command' must be specified.

API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.