Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14062

Alteration of commands on documentation.

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      In your help at https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html (Bitbucket-cloud, Setup SSH for Git), you suggest that if ssh-agent is not running one should start it with: "ssh-agent /bin/bash", and "ssh-add ~/.ssh/id_rsa". This starts a new shell which is somewhat unsatisfactory. A better way to start it is with:

      eval $(ssh-agent) > /dev/null
      ssh-add ~/.ssh/id_rsa

      These lines modify the current shell instead of starting a new shell, and after this one can use git clone/push/pull happily and passwordlessly http://blog.joncairns.com/2013/12/understanding-ssh-agent-and-ssh-add/

      Attachments

        Activity

          People

            Unassigned Unassigned
            calves Cassiano Alves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: