davidB / git2_credentials

Provide credentials function to used with git2::RemoteCallbacks.credentials
Apache License 2.0
21 stars 4 forks source link

Retrieve username from ssh_config #42

Closed gifnksm closed 12 months ago

gifnksm commented 12 months ago

Credentials for CredentialType::USERNAME should be found from ssh_config. I believe this can be done in the same way as for CredentialType::SSH_KEY.