oracle-quickstart / oci-arch-ci-cd

Set up a CI/CD pipeline for cloud deployments
Universal Permissive License v1.0
11 stars 14 forks source link

deployment via custom ssh public key fails #10

Open sundeepdhall opened 2 years ago

sundeepdhall commented 2 years ago

Terraform deployment with personal ssh key pair (public key) fails. Error message Error: file provisioner error with module.jenkins.module.jenkins-controller.null_resource.TFJenkinsControllerConfig_via_public_ip[0], on .terraform/modules/jenkins/modules/jenkins-controller/main.tf line 105, in resource "null_resource" "TFJenkinsControllerConfig_via_public_ip" 105: provisioner "file" { timeout - last error: SSH authentication failed (opc@152.70.201.61:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

gabrielgrigorie commented 2 years ago

Hi @sundeepdhall , could you please retest this, making sure you're using the latest version of the code? Note: don't provide a custom ssh_public_key, so the system can auto-generate keys. The custom ssh key feature is not working properly at the moment.