Giter Club home page Giter Club logo

Comments (4)

JWDobken avatar JWDobken commented on June 14, 2024

Hi @ayarosh,

You don't have to provide the private key to the provider, but you do need to add the key to your keychain so Terraform can ssh into the nodes from local:

ssh-add ~/.ssh/hcloud

To add the key permenantly, there is a thread here.

If you have issues, let me know.

from terraform-hcloud-kubernetes.

ayarosh avatar ayarosh commented on June 14, 2024

Hi @ayarosh,

You don't have to provide the private key to the provider, but you do need to add the key to your keychain so Terraform can ssh into the nodes from local:

ssh-add ~/.ssh/hcloud

To add the key permenantly, there is a thread here.

If you have issues, let me know.

I've tried to provide that.
It wasn't help.

from terraform-hcloud-kubernetes.

JWDobken avatar JWDobken commented on June 14, 2024

and the ssh agent is up-and-running?

from terraform-hcloud-kubernetes.

kscarlett avatar kscarlett commented on June 14, 2024

I was having a similar issue just now, where I was getting the same error message, but I was able to ssh in manually without providing any additional input.

I figured it couldn't be that the key wasn't in the keychain, because it was the default id_rsa and it worked manually, however it worked after I ran ssh-add in the same terminal session. I'm not sure why it didn't work when manual ssh worked perfectly, so that's a bit strange.

Versions added in case it's a bug somewhere:

  • macOS 10.14.6
  • OpenSSH_7.9p1, LibreSSL 2.7.3
  • Terraform v0.15.4 and 1.0.7

from terraform-hcloud-kubernetes.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.