Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running the GIT client "unattended": that is, it's on a build server, so there's no way of responding "yes" to prompts. I can't log in to the build server as the user that runs the build, and I can't seem to find any /.ssh/ folder to add SSH keys to.

Is there any way to provide the password on the command line? I also need to accept the server's RSA key. In subversion, I can achieve the same thing with the command line switches:

--non-interactive --trust-server-cert --username <username> --password <password> --no-auth-cache


Windows 7 64bit

Git ( for Windows (

Server is

share|improve this question
up vote 0 down vote accepted

no, there is no straitforward way to do this with the current version of Git. However, you can pull from with the subversion client. See here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.