It adds support for certificate-based SSH authentication, when a certificate is present. Certificate name is built according to SSH following convention:
Private key file name
Certificate file name
id_rsa
id_rsa-cert.pub
Notes
Certificate-based authentication takes precedence over traditional pubkey only authentication: a conforming SSH-certificate will be used.
To work properly, this feature uses the upstream golang.org/x/crypto/ssh. Build should not fail against github.com/dmacvicar/golang-x-crypto, but PR will not work properly.
Content
This PR intends to close https://github.com/dmacvicar/terraform-provider-libvirt/issues/957
It adds support for certificate-based SSH authentication, when a certificate is present. Certificate name is built according to SSH following convention:
Notes