meltingice / git-lfs-s3

A Git LFS server that uses S3 as the storage backend.
216 stars 36 forks source link

Keeps prompting for password #8

Open OptimisticMonkey opened 9 years ago

OptimisticMonkey commented 9 years ago

I have the environment variables set in .bash_profile e.g. echo $USERNAME user

But when i try git push -u origin master I can see in the log xxxxxxxxxx - - [28/Aug/2015:17:34:29 +0000] "POST /objects HTTP/1.1" 401 28 0.0004 ipxxxxxxxxxxxxxxxxx - - [28/Aug/2015:17:34:29 UTC] "POST /objects HTTP/1.1" 401 28

and it keeps asking for username and password on the client.

The good news is that there are two files that did show up in the bucket....so it is close.... any ideas?

OptimisticMonkey commented 9 years ago

Bypassed py embedding credentials in [lfs] section of gitconfig

nterry commented 9 years ago

@OptimisticMonkey How dod you do that? Here is my config in my local .gitconfig:

[lfs] url=foo.bar.com username=someUser password=blargh

Is that correct?

yvirin commented 8 years ago

http://username:password@foo.bar.com:port

lyoshenka commented 8 years ago

@OptimisticMonkey im also curious how you bypassed the constant prompting. neither @nterry's suggestion nor @yvirin's suggestion worked for me.