Oliver Dzombic
2021-Jan-02 13:25 UTC
Migration via qemu+ssh using a given private ssh key possible ?
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 ). Is that possible somehow ? Or something else similar ? Thank you! -- Mit freundlichen Gruessen / Best regards Oliver Dzombic Layer7 Networks mailto:info at layer7.net Anschrift: Layer7 Networks GmbH Zum Sonnenberg 1-3 63571 Gelnhausen HRB 96293 beim Amtsgericht Hanau Gesch?ftsf?hrung: Oliver Dzombic UST ID: DE259845632
Peter Krempa
2021-Jan-03 12:33 UTC
Migration via qemu+ssh using a given private ssh key possible ?
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