Thanks for the hints so far, my current state is:

 - pushing to github works (yay!)
 - pushing to kitware without 2FA fails
 - pushing to kitware with 2FA fails
 - login with github credentials (on the website) works

Does someone know if I can use github credentials for pushing, and how?

Otherwise I will have to set up something with my NAS at home to sync from 
github to gitlab, because gitlab repo mirroring is only possible in push mode 
for gitlab community edition :-(.

Anyway, I'll figure something out some day...

-----Ursprüngliche Nachricht-----
Von: Brad King <brad.k...@kitware.com> 
Gesendet: Dienstag, 19. März 2019 13:42
An: Stuermer, Michael SP/HZA-ZSEP; CMake Developers
Betreff: Re: [cmake-developers] Pushing to gitlab.kitware.org from behind a ssl 
proxy

On 3/19/19 2:21 AM, Stuermer, Michael  SP/HZA-ZSEP wrote:
> remote: HTTP Basic: Access denied
> fatal: Authentication failed for 
> 'https://gitlab.kitware.com/<username>/cmake.git/'

Try creating a personal access token to use during auth instead:

* https://gitlab.kitware.com/help/user/profile/personal_access_tokens.md
  "You can also use them to authenticate against Git over HTTP.
   They are the only accepted method of authentication when you
   have Two-Factor Authentication (2FA) enabled."

Otherwise, try using https auth from home without the proxy to make sure it 
works and narrow the cause.

-Brad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to