16
cuervo
6y

Do you git clone with ssh or https and why?

I am thinking about using ssh just based on my own research, though you guys may have a your own reasons.

Comments
  • 10
    I clone with SSH because it's easier. Also I encrypted my ssh key with a password so if anyone gets the key, they can't use it.
  • 1
    @filthyranter yeah the setup isn't a big deal. My issue with using https was it caching my credentials though I could opt not to do that but I also don't want to enter my credentials every time. I don't believe it's encrypted either
  • 3
    @cuervo Accessing via SSH is more secure than entering your credentials into an HTTPS request. You don't share your credentials, that's why.
  • 4
    Jup ssh it is.
  • 1
    SSH always.
  • 1
    @illusion466 I saw that too and it made me curious about the difference between the two
  • 5
    There is absolutely no contest.

    SSH should --be the only method--

    Your credentials are never transmitted, its easier to set up and faster.
  • 1
    SSH too. I always prefer ssh
  • 1
    @illusion466 GitHub's stupid then
  • 2
    @filthyranter Same, easy and awesome to use.
Add Comment