stefanprodan / k8s-scw-baremetal

Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
MIT License
177 stars 58 forks source link

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

Open gnuletik opened 5 years ago

gnuletik commented 5 years ago

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.
stephenmoloney commented 5 years ago

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.

gnuletik commented 5 years ago

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.