This repository has been archived by the owner on Mar 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Simplify ssh key usage with whilp/ssh-agent and yaml syntax #19
Labels
Comments
Do something similar to #20 # Make the host user's id_rsa key available to the web container e.g. for cloning from github
ssh-agent:
containers:
- web
keys:
- id_rsa Should generate a seed default config of compose:
web:
environment:
# make ssh keys available via ssh forwarding (see volume entry)
- SSH_AUTH_SOCK=/root/.ssh/socket
volumes_from:
# Use configured whilp/ssh-agent long running container for keys
- ssh-agent It will also create the container and populate it with keys, prior to |
rosskevin
added a commit
that referenced
this issue
Oct 2, 2015
rosskevin
added a commit
that referenced
this issue
Oct 2, 2015
…ional, and workout conveniences with strict host key verification. Applies to #19
Unknown hosts are still a problem (anything from bitbucket or github). Both of these fail with "Host key verification failed"
But these succeed
Need to figure out a way to either share |
As of daea2fc, this issue is solved, requires merging (or local building) of whilp/ssh-agent#3 |
Fixed in 0.7.1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See http://stackoverflow.com/questions/32897709/ssh-agent-forwarding-inside-docker-compose-container/32911979#32911979
Similar to gems, this uses a long running volume. Perhaps we can inject an interpolated single
ssh-agent
container into the yaml for use, with a single command, then clean it up afterwards?The text was updated successfully, but these errors were encountered: