ef-labs / stash-hook-mirror

An Atlassian Stash repository hook for mirroring to one or more remote git repositories.
MIT License
77 stars 58 forks source link

No 2FA support for github #78

Open EugenMayer opened 4 years ago

EugenMayer commented 4 years ago

Trying to mirror to github, but it does not work ( i cannot see any log entries or anything else ).

I wild guess it is because of 2FA?

adrianluisgonzalez commented 4 years ago

Can you use ssh keys?

https://github.com/ef-labs/stash-hook-mirror/wiki#troubleshooting

EugenMayer commented 4 years ago

since i use a containerized bitbucket server, adding keys on the cli to the shell user is nothing that i can do just like that - short answer is, not i cannot

viceice commented 4 years ago

@EugenMayer you need to create a Personal access token with repo scope and use as password

https://github.com/settings/tokens