Details
-
Suggestion
-
Resolution: Duplicate
-
None
-
None
Description
Steps
- Given a user with ssh key set in profile
- Create a new project
- Create a bare repository
- View new repository
Observed
The repository provides very useful help text for new users to get setup and working, however, the documents indicate to use the https protocol rather than the ssh urls, eg
git clone https://toby@stash/scm/tst/my-repo.git
Impact
- Users will be asked for credentials each time they perform an online action
- self-signed certificates on stash will cause git to throw out errors
- the http protocol is inefficient for both client and server
Recommendation
Update the text on the page depending on if the user has a ssh key defined, and if they do not, perhaps provide a link to let them add one.
Attachments
Issue Links
- duplicates
-
BSERV-3423 Use SSH URLs in the empty repository instructions when SSH is the preferred transport
- Closed