bcvk-libvirt-ssh - Man Page

bcvk-libvirt-ssh - SSH to libvirt domain with embedded SSH key

Synopsis

bcvk libvirt ssh [Options]

Description

SSH to libvirt domain with embedded SSH key

Options

DOMAIN_NAME

Name of the libvirt domain to connect to

This argument is required.

COMMAND

Command to execute on remote host

--user=USER

SSH username to use for connection (defaults to 'root')

Default: root

--strict-host-keys

Use strict host key checking

--timeout=TIMEOUT

SSH connection timeout in seconds

Default: 30

--log-level=LOG_LEVEL

SSH log level

Default: ERROR

--extra-options=EXTRA_OPTIONS

Extra SSH options in key=value format

Examples

SSH into a running libvirt VM:

bcvk libvirt ssh my-server

Execute a command on the VM:

bcvk libvirt ssh my-server 'systemctl status'

SSH with a specific user:

bcvk libvirt ssh --user admin my-server

Connect to a VM with extended timeout:

bcvk libvirt ssh --timeout 60 my-server

See Also

bcvk(8)

Version

v0.1.0