remote_execution

Remote_Execution core module.

This module provides remote execution functionality for the Haive framework.

Classes:

RemoteExecutor: RemoteExecutor implementation.

Functions:

connect: Connect functionality. run_remote: Run Remote functionality.

Attributes

Classes

RemoteExecutor

Securely execute commands on a remote machine via SSH.

Module Contents

class remote_execution.RemoteExecutor(hostname: str, username: str, key_path: str)

Securely execute commands on a remote machine via SSH.

close()

Close SSH connection.

connect()

Establish SSH connection.

run_remote(command: str)

Execute a command remotely.

client
hostname
key_path
username
remote_execution.remote_executor