MathHubInfo / Legacy-localmh-docker

Legacy docker wrapper for lmh
1 stars 1 forks source link

after lmh core cpssh lmh asks for passphrases of keys every time #10

Closed kohlhase closed 9 years ago

kohlhase commented 9 years ago

this is extremely annoying, can that be changed? Otherwise lmh update is quite useless.

tkw1536 commented 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.

kohlhase commented 9 years ago

It seems that git caches the password on its own in my local setlup, why does not not do that in docker?

kohlhase commented 9 years ago

I am just wondering why it behaves differently in docker and in MacOS.

tkw1536 commented 9 years ago

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.

kohlhase commented 9 years ago

so I guess I need https://help.github.com/articles/caching-your-github-password-in-git/#platform-linux right?

kohlhase commented 9 years ago

hmmm, but that does not seem to work for me.

tkw1536 commented 9 years ago

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.

kohlhase commented 9 years ago

OK, that seems like a good idea.

tkw1536 commented 9 years ago

fixed by now.