From f18dd78036846ff4393fcb5252d08ea7c31de726 Mon Sep 17 00:00:00 2001 From: Benjamin Kircher Date: Sat, 8 May 2021 11:42:04 +0200 Subject: [PATCH] provisioner: Note how to load key in SSH agent References: https://github.com/gridscale/terraform-examples/issues/12 --- provisioner/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/provisioner/README.md b/provisioner/README.md index 876dc4b..1335375 100644 --- a/provisioner/README.md +++ b/provisioner/README.md @@ -11,7 +11,15 @@ As usual, set `GRIDSCALE_TOKEN` and `GRIDSCALE_UUID` environment variables to th $ export GRIDSCALE_TOKEN=your-api-token $ export GRIDSCALE_UUID=your-user-id -Open `server.tf` and paste your SSH public key where it says `"INSERT KEY"`. Then do +Open `server.tf` and paste your SSH public key where it says `"INSERT KEY"`. Please make also sure that you have the key loaded in your SSH agent, e.g., by adding it with + + $ ssh-add ~/.ssh/your-key + +You can check if the key is loaded with + + $ ssh-add -L + +Then do $ terraform init