Teamcity to github List remote refs failed not authorized jgit
Had the same issue and resolved it by creating a Personal Access Token in Github and using it as a password in TeamCity.
In teamcity, in the project VCS Root, if the authentication method is based on ssh public/private key, then the fetch URL should be like [email protected]:.../repository.git
. Using https://
in the fetch URL causes the error message:
List remote refs failed: org.eclipse.jgit.errors.TransportException..
to occur.
In bitbucket, i resolved this by creating an App Password under settings, and used the app password instead of my bitbucket password