3 ms·
See this for a good comparison https://ourtechroom.com/tech/https-vs-ssh-in-git/ https://ourtechroom.com/tech/https-vs-ssh-in-git/
by beermonster 5y ago
See this for a good comparison
https://ourtechroom.com/tech/https-vs-ssh-in-git/ https://ourtechroom.com/tech/https-vs-ssh-in-git/
- computerfriend 5y agoThat doesn't explain why HTTP(S) would be more popular, or why services would push their users to use it instead of SSH.
- beermonster 5y agoDoesn’t it? This articles states the pros of https as: - It is easiest to set up on the widest range of networks and platforms and is easier for people to get started in a simple and secure way. - It does not require to generate/copy/paste ssh keys in the git server provider. - It is easier to access and write on repositories from anywhere and you just need account details. - HTTPS is a port that is open in all firewalls and does not require to open by doing to firewall settings. So based on that I can see why they would prefer to push https as it’s easier/more interoperable and therefore a better default for “most” people. However, personally I prefer using the SSH protocol. I don’t get why they would deprecate it though..
- computerfriend 5y agoIt also discusses the pros of SSH, of which there are several. But this is all from the perspective of a user choosing one over the other and doesn't discuss why a service would encourage one over the other. What I'm expecting is "HTTPS is faster / easier to load-balance / etc.", but I really don't know.