b.t.ssh : module documentation

Part of bzrlib.transport

Foundation SSH support for SFTP and smart server.
Class SSHVendorManager Manager for manage SSH vendors.
Class SocketAsChannelAdapter Simple wrapper for a socket that pretends to be a paramiko Channel.
Class SSHVendor Abstract base class for SSH vendor implementations.
Class LoopbackVendor SSH "vendor" that connects over a plain TCP socket, not SSH.
Class ParamikoVendor Vendor that uses paramiko.
Class SubprocessVendor Abstract base class for vendors that use pipes to a subprocess.
Class OpenSSHSubprocessVendor SSH vendor that uses the 'ssh' executable from OpenSSH.
Class SSHCorpSubprocessVendor SSH vendor that uses the 'ssh' executable from SSH Corporation.
Class LSHSubprocessVendor SSH vendor that uses the 'lsh' executable from GNU
Class PLinkSubprocessVendor SSH vendor that uses the 'plink' executable from Putty.
Function load_host_keys Load system host keys (probably doesn't work on windows) and any
Function save_host_keys Save "discovered" host keys in $(config)/ssh_host_keys/.
Function os_specific_subprocess_params Get O/S specific subprocess parameters.
Class SSHConnection Abstract base class for SSH connections.
Class SSHSubprocessConnection A connection to an ssh subprocess via pipes or a socket.
Function _ignore_signals Undocumented
Function _paramiko_auth Undocumented
Function _try_pkey_auth Undocumented
Function _close_ssh_proc Carefully close stdin/stdout and reap the SSH process.
Class _ParamikoSSHConnection An SSH connection via paramiko.
def _ignore_signals():
Undocumented
def _paramiko_auth(username, password, host, port, paramiko_transport):
Undocumented
def _try_pkey_auth(paramiko_transport, pkey_class, username, filename):
Undocumented
def load_host_keys():
Load system host keys (probably doesn't work on windows) and any "discovered" keys from previous sessions.
def save_host_keys():
Save "discovered" host keys in $(config)/ssh_host_keys/.
def os_specific_subprocess_params():
Get O/S specific subprocess parameters.
def _close_ssh_proc(proc, sock):
Carefully close stdin/stdout and reap the SSH process.

If the pipes are already closed and/or the process has already been wait()ed on, that's ok, and no error is raised. The goal is to do our best to clean up (whether or not a clean up was already tried).

API Documentation for Bazaar, generated by pydoctor at 2019-05-27 00:20:20.