dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

Improve SSH authentication #870

Closed oranenj closed 2 years ago

oranenj commented 3 years ago

This adds support for using the SSH agent when using the ssh transport to libvirt. Tested locally that using a key file still works

Fixes #864

Other methods can be added, but since they're mostly interactive, they don't make much sense for Terraform.

There are also commits for that add support for disabling SSH host key verification and fixes a minor bug with automatic user name selection.

oranenj commented 2 years ago

@dmacvicar any chance to get this merged? I haven't needed it for a while but it seems other people are also struggling with the lack of support for SSH agents.

dmacvicar commented 2 years ago

Will have a look at it soonish.

dmacvicar commented 2 years ago

I have finally managed to test this. Thanks for your contribution Jarkko!