gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.28k stars 670 forks source link

Clone over SSH without having to log in via the web interface first. #1293

Open flaix opened 6 years ago

flaix commented 6 years ago

Currently directly cloning a repository via SSH will not work if there is no user model yet. This can happen when the user base is pulled from LDAP, the SSH keys are stored in LDAP and a user has not logged into the web interface at least once.

It would be good to be able to directly clone via SSH in such a scenario without having to log in at least once. This is useful for system accounts like CI servers.