Sir, my organization has set LDAP password for Git lab ...but i am sometimes needed to share it with my colleagues which creates security problem as it is the same pwd for hr portal, system login etc. Is there any way I can set a different pwd for only Gitlab...so that it won't cause any problem
@@cameronmcnz thanks alot sir, just wanted to confirm one point further, instead of username, my token name will be used and instead of pwd, the token secret key for login...am I correct.?..
How to set up SSH keys for Git is one of my most popular videos! Sadly, if you keep the public and private key in the same folder, it's not much safer than username and password in plain text in the .gitcredentials file. But agreed, fewer people trying to spoof SSH. It's often a progression for companies to get there.
@@cameronmcnz ish... Usernames and passwords could be stolen way easier than a private key you're supposed to have with the least permissions possible, in your own home directory... Unless you always use root on a shared server 😏
@@squalazzo I certainly can't argue that a plaintext Git username and password in your home directory in a .gitcredentials file isn't a major security concern. You're right about that! SSH is definitely my preference as well.
This was personally a frustrating issue. When I figured it out I immediately did this tutorial. When I see 1.3K views, I like to think I've helped over a thousand people avoid the massive frustration the darn git login personally put me through! Glad I could help. Thanks for viewing!
Awesome. the token works better. For whatever reason over the years ssh bums out sometimes. I cam here after fighting & search for why Git all of a sudden prompts me for password. Thank you!
Lots of Bitbucket and Gitlab users I know have complained about repeatedly being asked for git username and passwords. Hopefully this quick tutorial helps!
Funny, but this is a very commonly searched problem, and I've had Bitbucket users complain about repeatedly asked for git username and passwords. When I researched, there weren't a lot of resources on it. Hopefully this helps people!
Sir, my organization has set LDAP password for Git lab ...but i am sometimes needed to share it with my colleagues which creates security problem as it is the same pwd for hr portal, system login etc. Is there any way I can set a different pwd for only Gitlab...so that it won't cause any problem
Normally access tokens you could give to people would be the solution. Not sure how LDAP might make that more or less difficult though.
@@cameronmcnz thanks alot sir, just wanted to confirm one point further, instead of username, my token name will be used and instead of pwd, the token secret key for login...am I correct.?..
solved my problem, thank you so much
Great to hear! This problem annoyed me so much!!
just use ssh key pairs, way safer...
How to set up SSH keys for Git is one of my most popular videos! Sadly, if you keep the public and private key in the same folder, it's not much safer than username and password in plain text in the .gitcredentials file.
But agreed, fewer people trying to spoof SSH. It's often a progression for companies to get there.
@@cameronmcnz ish... Usernames and passwords could be stolen way easier than a private key you're supposed to have with the least permissions possible, in your own home directory... Unless you always use root on a shared server 😏
@@squalazzo I certainly can't argue that a plaintext Git username and password in your home directory in a .gitcredentials file isn't a major security concern. You're right about that! SSH is definitely my preference as well.
You really helped me here...Thank you!!
This was personally a frustrating issue. When I figured it out I immediately did this tutorial. When I see 1.3K views, I like to think I've helped over a thousand people avoid the massive frustration the darn git login personally put me through!
Glad I could help. Thanks for viewing!
Awesome. the token works better. For whatever reason over the years ssh bums out sometimes. I cam here after fighting & search for why Git all of a sudden prompts me for password. Thank you!
Glad I could help
this is the only tutorial u need to config git
Very helpful 🙂
Lots of Bitbucket and Gitlab users I know have complained about repeatedly being asked for git username and passwords. Hopefully this quick tutorial helps!
The tutorial I needed!
Funny, but this is a very commonly searched problem, and I've had Bitbucket users complain about repeatedly asked for git username and passwords. When I researched, there weren't a lot of resources on it. Hopefully this helps people!