terraform-provider-libvirt icon indicating copy to clipboard operation
terraform-provider-libvirt copied to clipboard

Certificate-based SSH authentication

Open git-noise opened this issue 3 years ago • 0 comments

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:

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.

git-noise avatar Aug 01 '22 19:08 git-noise