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¶
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.
- client¶
- hostname¶
- key_path¶
- username¶
- remote_execution.remote_executor¶