Comments (4)
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.
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.
and the ssh agent is up-and-running?
from terraform-hcloud-kubernetes.
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)
- Try to access list of worker nodes ips HOT 1
- Could you please add examples manifest of publishing via ingress HOT 2
- provide list of firewall_ids to servers
- failed to pull image "registry.k8s.io/kube-apiserver:v1.25.2" HOT 1
- replace provisioners with `user_data`
- Add option to remove ipv4 for instances HOT 1
- Add connection to Hetzner storage box for ReadWriteMany + cheaper storage then SSD
- Autoscaling on worker nodes
- Ubuntu 20 to 22
- Error: file provisioner error HOT 3
- Node/instance connection not working anymore after node memory overload
- kubernetes installation on nodes not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-hcloud-kubernetes.