Show ssh urls on bare repository help text when user has ssh keys present

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • None
    • Component/s: Documentation (User)
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Toby Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: