You can use SSH keys to establish a secure connection between your computer and Stash for when you are performing Git operations. Stash supports DSA and RSA2 key types. RSA1 is not supported. A Stash user can add any number of keys to their account.
Before you can do this, however, the following must have already been done:
Once you have SSH access set up, using it is easy!
Using SSH to access your repositories:
- SSH access needs to have been set up, as described above. Once this is done, you can use SSH access as follows:
- Go to Projects, choose a project, click Repositories, and then choose a repository.
- At the top right, you'll see the clone URLs for the repository.
- Choose the clone URL you want to use. SSH is available if you have already added an SSH key to your profile. If you haven't done that yet, click Add an SSH key. See Adding an SSH key to your Stash profile on Windows or Adding an SSH key to your Stash profile on Linux and Mac for details.