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

Part of bzrlib.transport.ssh View In Hierarchy

Vendor that uses paramiko.
Method connect_sftp Make an SSH connection, and return an SFTPClient.
Method connect_ssh Make an SSH connection.
Method _connect Undocumented

Inherited from SSHVendor:

Method _raise_connection_error Raise a SocketConnectionError with properly formatted host.
def _connect(self, username, password, host, port):
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.
API Documentation for Bazaar, generated by pydoctor at 2019-10-23 00:34:42.