docker-osx-dev icon indicating copy to clipboard operation
docker-osx-dev copied to clipboard

Constant "Password:" prompts

Open arkwright opened this issue 9 years ago • 2 comments
trafficstars

Unfortunately I can't reproduce this problem, but docker-osx-dev appears to be prompting for a sudo password continuously under some circumstances. We believe this to be the case because there are no other sudo requirements in the affected script.

Password:
Password:
Password:
Password:

No matter how many times the password is entered, the prompts continue.

Cancelling the prompt and re-saving the (unmodified) affected script triggers the prompts again.

The problem has since resolved itself. Sorry I can't be more specific. 😞

arkwright avatar Aug 12 '16 17:08 arkwright

I imagine this has something to do with fsutils. But that's just a hunch.

dmitrif avatar Aug 12 '16 17:08 dmitrif

docker-osx-dev uses docker-machine ssh or boot2docker ssh to connect to your VM. To authenticate, it uses an SSH key. You can find the logic for docker-machine here and the logic for boot2docker here.

Perhaps your SSH key is configured differently or got deleted? Or has a password on it? That might explain the password prompt.

brikis98 avatar Aug 12 '16 22:08 brikis98