12

VS2013 had no support for ssh protocol on remote Git repositories. I have read a few articles where the underlying C lib that the git client relied on has now had ssh support added and thus VS2015 hopefully now supports it too.

Does anybody know if SSH is supported and if so, what is the format for the URL for the remote repository since attempting with ssh:// does not work?

Unfortunately we have to use ssh protocol for connection to this private git repository.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Nick D
  • 286
  • 1
  • 4
  • 15
  • Don't see why it now gets marked as a duplicate nearly 2 years later since I asked the question in June 2015 and the duplicate it has been marked as was a month later in July 2015. – Nick D Mar 01 '17 at 11:45

1 Answers1

22

As mentioned in "Git support for Visual Studio - Git, TFS, and VS put into Context", Visual Studio uses libgit2 for Git support.

And libgit2 only got ssh support in May 2013 (PR 1558, libgit2 v0.19.0+), a bit late for VS 2013.

VS2015 should include a more recent version of libgit2, but ssh support wasn't yet planned.
See "Visual Studio 2015 CTP 6 and Team Foundation Server 2015 CTP Released".

Saeed Noursalehi [MSFT] 4 Mar 2015 4:45 PM #

We have no immediate plans to support SSH

There is an issue pending.

This discussion has been gaining more steam internally.
I don't have a date yet, but it's something we'll take a hard look at in our next round of planning.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250