How to push to http(s) repository with authentication?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have set up a repository as described in

  http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt

over SSL with basic authentication.  DAV access works fine with konqueror,
cadaver and and curl, using this .curlrc:

   $ cat ~/.curlrc
   --cacert /etc/cacerts/myca.pem
   --user   user
   $ curl https://repo.host.org/git/test/HEAD
   Enter host password for user 'user':
   ref: refs/heads/master
   $

But when called from git, this file seems to be ignored.  I have checked
google, but the only hint I could find was to put credentials into
~/.netrc.  IMHO, this is a bad workaround, since this implies to have
unencrypted passwords lying around on the disk.

Any hints?

PS: I have asked a similar question a couple of days ago.  Here is a link
    to my original mail with more information how I set up the server:

      http://marc.info/?l=git&m=122426078301793&w=2
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux