Skip to content

Don't put the password in the SSH remote if using public-key authentication

Stan Hu requested to merge sh-fix-ssh-mirrors into master

Project#import_url was always called to set the remote, but this would generate SSH URLs in the form of ssh://<username>:<password>/<path>.

Since the password should be ignored when using SSH public-key authentication, Project#username_only_import_url should be used.

Closes #3352 (closed)

Edited by Nick Thomas

Merge request reports