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

Part of bzrlib.transport.ssh View In Hierarchy

SSH "vendor" that connects over a plain TCP socket, not SSH.
Method connect_sftp Make an SSH connection, and return an SFTPClient.

Inherited from SSHVendor:

Method connect_ssh Make an SSH connection.
Method _raise_connection_error Raise a SocketConnectionError with properly formatted host.
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.
API Documentation for Bazaar, generated by pydoctor at 2019-10-20 00:34:54.