Closed kohlhase closed 9 years ago
From what I see there are 2 ways around this:
1) store a decrypted ssh key (without password) in the docker container 2) cache the password so that it only has to be entered once / session
On Monday, February 16, 2015, Michael Kohlhase notifications@github.com wrote:
Assigned #10 https://github.com/KWARC/localmh_docker/issues/10 to @tkw1536 https://github.com/tkw1536.
— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh_docker/issues/10#event-236173668.
It seems that git caches the password on its own in my local setlup, why does not not do that in docker?
I am just wondering why it behaves differently in docker and in MacOS.
because it's technically not git itself caching the password but the Mac OS keychain. Inside docker, that does not exist.
On Monday, February 16, 2015, Michael Kohlhase notifications@github.com wrote:
I am just wondering why it behaves differently in docker and in MacOS.
— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh_docker/issues/10#issuecomment-74475770.
so I guess I need https://help.github.com/articles/caching-your-github-password-in-git/#platform-linux right?
hmmm, but that does not seem to work for me.
I'll have to set up ssh-agent, see https://help.github.com/articles/working-with-ssh-key-passphrases/
On Mon, Feb 16, 2015, 09:59 Michael Kohlhase notifications@github.com wrote:
hmmm, but that does not seem to work for me.
— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh_docker/issues/10#issuecomment-74476858.
OK, that seems like a good idea.
fixed by now.
this is extremely annoying, can that be changed? Otherwise
lmh update
is quite useless.