Secure Shell (SSH)¶
SSH interfaces.
-
class
SSHClient
¶ SSH client.
-
login
(target, private_key_path)¶ Create a session.
Parameters: - target (caviar.network.ssh.SSHUserHost) – Remote user target.
- private_key_path (str) – Remote user private key path.
Return type: Returns: The physical SSH session.
Raises: caviar.network.ssh.SSHUnavailableSessionError – If not any session is available.
-
close
()¶ Close this client.
-