Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`conch`.`manhole_ssh`.`ConchFactory``

class documentation

`class ConchFactory(factory.SSHFactory): (source)`

Constructor: `ConchFactory(portal)`

View In Hierarchy

Undocumented

Method | `__init__` | Undocumented
Instance Variable | `portal` | Undocumented
Instance Variable | `privateKeys` | Undocumented
Instance Variable | `publicKeys` | Undocumented

Inherited from `SSHFactory`:

Method | `buildProtocol` | Create an instance of the server side of the SSH protocol.
Method | `getDHPrime` | Return a tuple of (g, p) for a Diffe-Hellman process, with p being as close to `bits` bits as possible.
Method | `getPrimes` | Called when the factory is started to get Diffie-Hellman generators and primes to use. Returns a dictionary mapping number of bits to lists of tuple of (generator, prime).
Method | `getPrivateKeys` | Called when the factory is started to get the private portions of the servers host keys. Returns a dictionary mapping SSH key types to `twisted.conch.ssh.keys.Key` objects.
Method | `getPublicKeys` | Called when the factory is started to get the public portions of the servers host keys. Returns a dictionary mapping SSH key types to public key strings.
Method | `getService` | Return a class to use as a service for the given transport.
Method | `startFactory` | Check for public and private keys.
Class Variable | `services` | Undocumented
Instance Variable | `primes` | Undocumented
Class Variable | `_log` | Undocumented

Inherited from `Factory` (via `SSHFactory`):

Class Method | `forProtocol` | Create a factory for the given protocol.
Method | `doStart` | Make sure startFactory is called.
Method | `doStop` | Make sure stopFactory is called.
Method | `logPrefix` | Describe this factory for log messages.
Method | `stopFactory` | This will be called before I stop listening on all Ports/Connectors.
Class Variable | `noisy` | Undocumented
Class Variable | `protocol` | Undocumented
Instance Variable | `numPorts` | Undocumented

def __init__(self, portal): (source)

Undocumented

portal = (source)

Undocumented

privateKeys: `Dict[bytes, bytes]` = (source)
overrides `twisted.conch.ssh.factory.SSHFactory.privateKeys`

Undocumented

publicKeys: `Dict[bytes, bytes]` = (source)
overrides `twisted.conch.ssh.factory.SSHFactory.publicKeys`

Undocumented