NAME
Sys::Async::Virt::Connection::SSH - Connection to LibVirt server over SSH
VERSION
v0.2.0
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, inheriting most of its behaviour from " Sys::Async::Virt::Connection::Process ".
NOTE This module requires the Future::IO->waitpid call to work, which the default implementation does not provide. Any of the other backends listed in " Future::IO " needs to be active for this module to work.
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
is_secure
my $bool = $conn->is_secure;
Returns true.
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024-2025 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.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 133:
L<> starts or ends with whitespace
- Around line 137:
L<> starts or ends with whitespace