问题
Is it possible to clone a repository via ssh using ssh-keys?
回答1:
SSH transport is not yet implemented in libgit2.
Check issue 1103 issue 1558 for progress.
Update
Pull request 1508 has been merged on May, 16th 2013.
Since then, it's also been well taken care of (cf. 1706, 1717, 1775, 1851, 1903, 1904).
It's even now continuously tested on Travis (cf. 1774).
来源:https://stackoverflow.com/questions/15204015/does-libgit2-support-ssh-transport-protocol