[Other doc versions]
[Doc downloads]
注意:
On Windows, in your command prompt, change directory to your .ssh directory, and copy the public key file to your clipboard by running:
cd %userprofile%/.ssh clip < id_rsa.pub
On Mac OS X or Linux simply run the following in a terminal:
pbcopy < ~/.ssh/id_rsa.pub
Note that on Linux, you may need to download and install xclip, then use that, as shown in this code snippet:
sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_rsa.pub
In Stash, go to your account:
SSH access needs to have been set up, as described above. Once this is done, you can use SSH keys as follows: