k8s-scw-baremetal icon indicating copy to clipboard operation
k8s-scw-baremetal copied to clipboard

feat(ssh): Use ssh-agent instead of private_key

Open gnuletik opened this issue 6 years ago • 2 comments

This fixes the following issue when using a password protected private key :

password protected keys are not supported. Please decrypt the key prior to use.

gnuletik avatar Feb 22 '19 13:02 gnuletik

I also use ssh-agent but I didn't make a merge request as it forces others to do the same. If this could be made using a conditional and a terraform variable I think that would be a bit better so users could opt for ssh-agent according to the user's terraform vars.

stephenmoloney avatar Feb 22 '19 14:02 stephenmoloney

Hi ! @stephenmoloney ! Thanks for your fast answer.

Yeah, that's what I thought. I'll add a variable to configure it if that's possible (I'm new to terraform). I'll update the PR in the coming days.

gnuletik avatar Feb 22 '19 15:02 gnuletik