Part of bzrlib.transport.ssh View In Hierarchy
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. |
Parameters | username | an ascii string |
password | an ascii string | |
host | a host name as an ascii string | |
port | a port number (type: int) | |
Returns | (type: paramiko.sftp_client.SFTPClient) | |
Raises | ConnectionError if it cannot connect. |