Migration via qemu+ssh using a given private ssh key possible ?

Peter Krempa pkrempa at redhat.com
Sun Jan 3 12:33:43 UTC 2021


On Sat, Jan 02, 2021 at 14:25:32 +0100, Oliver Dzombic wrote:
> Hi,
> 
> happy new year!
> 
> Is there a way to tell libvirt to migrate an instance via qemu+ssh using
> a specific ssh key ?
> 
> It seems libvirt will always try to use the .ssh/id_rsa private key.
> 
> But i would like to somehow tell libvirt to use a specific private ssh
> key. ( At best via command line argument ).

This can be achieved via the 'keyfile' URI parameter.

See: https://libvirt.org/uri.html#Remote_URI_parameters




More information about the libvirt-users mailing list