Which format should be SSH private key for LibGit2 LibGit2Sharp (+SSH)
问题 I´m kind of stuck with an SSH private key issue and LibGit2Sharp-Ssh. I have a .Net/C# application that uses LibGit2Sharp-Ssh to clone a Git repository. I need to use SSH (https with user/password is not an option) and I also have a valid key, which is already working e.g. with Teamcity. My code looks like this: CloneOptions options = new CloneOptions { Checkout = false, CredentialsProvider = (url, user, cred) => new SshUserKeyCredentials() { PrivateKey = privateKey, Passphrase = passphrase,