You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a git repository on a remote where I need to use id_rsa/ssh authentication and attemptign to perform a push and receive an attribute error: AttributeError: module 'pygit2.credentials' has no attribute 'GIT_CREDTYPE_SSH_KEY'
Not sure if this is a bug. I am assuming this is operator error where I am not configuring things properly for the container, and could use some help! I also figure there are others who have the same scenario and could benefit from a detailed explanation.
What has to be configured in order to get the ssh key to be recognized?
I have placed the following in the Dockerfile (and doing build before run) :
-- in builder section
USER root
RUN mkdir /root/.ssh/
RUN echo /Users/username/.ssh/id_rsa > /root/.ssh/id_rsa
-- in deploy section
QUIT_SSH_KEY_HOME=/root/.ssh
Command used to start the container: docker run -d --name quitstore-esm -p 8080:8080 -v /path/to/repo:/data aksw/quitstore
Hi! I am very interested in using the QuitStore!!
I have a git repository on a remote where I need to use id_rsa/ssh authentication and attemptign to perform a push and receive an attribute error:
AttributeError: module 'pygit2.credentials' has no attribute 'GIT_CREDTYPE_SSH_KEY'Not sure if this is a bug. I am assuming this is operator error where I am not configuring things properly for the container, and could use some help! I also figure there are others who have the same scenario and could benefit from a detailed explanation.
What has to be configured in order to get the ssh key to be recognized?
I have placed the following in the Dockerfile (and doing build before run) :
-- in builder section
USER root
RUN mkdir /root/.ssh/
RUN echo /Users/username/.ssh/id_rsa > /root/.ssh/id_rsa
-- in deploy section
QUIT_SSH_KEY_HOME=/root/.ssh
Command used to start the container:
docker run -d --name quitstore-esm -p 8080:8080 -v /path/to/repo:/data aksw/quitstore