connectors.local
Contains a connector which handles connections to hosts via SSH.
class local.LocalConnector
local.LocalConnectorA tunnel connector that provides remote access to the current local machine via a subprocess.
def LocalConnector.command()
LocalConnector.command()def LocalConnector.command(self) -> list[str]:Constructs the full command needed to execute a tunnel dispatcher on this machine.
Returns
list[str]: The required ssh command.
def LocalConnector.extract_hostname()
LocalConnector.extract_hostname()def LocalConnector.extract_hostname(cls, url: str) -> str:Last updated