NAME
Sys::Async::Virt::Connection::SSH - Connection to LibVirt server over SSH
VERSION
v0.0.12
SYNOPSIS
use v5.26;
use Future::AsyncAwait;
use Sys::Async::Virt::Connection::Factory;
my $factory = Sys::Async::Virt::Connection::Factory->new;
my $conn = $factory->create_connection( 'qemu+ssh://localhost/system' );
DESCRIPTION
This module connects to a local LibVirt server through an ssh binary in the system PATH.
URL PARAMETERS
This connection driver supports these parameters in the query string of the URL, as per LibVirt's documentation:
command
keyfile
mode
netcat
no_tty
no_verify
proxy
socket
The path of the socket to be connected to.
CONSTRUCTOR
new
Not to be called directly. Instantiated via the connection factory (Sys::Async::Virt::Connection::Factory).
METHODS
connect
await $conn->connect;
is_secure
my $bool = $conn->is_secure;
Returns true
.
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024 Erik Huelsmann
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.