This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Connect via SSH with key #259
Comments
You have to define it in your ssh config, there is no other way at the moment. I am dealing with the same problem, where I cannot automate docker deployment on a remote machine using terraform cloud because of this missing feature. |
Cheers buddy. I actually found that if I add the key to my ssh agent it
works. There's some options mentioned about the agent. Perhaps you can look
into that to help solve your problem 🙂
…On Tue, 7 Apr 2020, 14:39 Adrian Lisko, ***@***.***> wrote:
You have to define it in your ssh config, there is no other way at the
moment.
I am dealing with the same problem, where I cannot automate docker
deployment on a remote machine using terraform cloud because of this
missing feature.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFQBUVOQI2HN3G3CTZA5CDRLMUGPANCNFSM4MA37AZQ>
.
|
@alexborisov can you point to the resource or give some code sample? |
It worked for me to configure the ssh and upload the private key beforehand.
upload primary key to server
main.tf
|
Relates to / duplicated by #268 @znck PR'd some work to the Docker CLI to help enable this, docker/cli#2541 Presumably if that is merged, it would be possible to add to the Terraform provider? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How can I use key authentication when connecting via ssh?
The text was updated successfully, but these errors were encountered: