pyinfra.connectors.sshuserclient.config module

This file as originally part of the “sshuserclient” pypi package. The GitHub source has now vanished (https://github.com/tobald/sshuserclient).

class pyinfra.connectors.sshuserclient.config.FakeInvoke

Bases: object

static run(cmd, *args, **kwargs)
class pyinfra.connectors.sshuserclient.config.FakeInvokeResult

Bases: object

ok = False
class pyinfra.connectors.sshuserclient.config.SSHConfig

Bases: SSHConfig

an SSHConfig that supports includes directives https://github.com/paramiko/paramiko/pull/1194

parse(file_obj)

Read an OpenSSH config from the given file object.

Parameters
file_obj – a file-like object to read the config file from