Merge branch 'ssh_doc' into 'master'
Documentation on how to copy your ssh key to clipboard with the console This MR just adds some documentation in case people want to use the bash to copy their public ssh key to the clipboard. See merge request !311
This commit is contained in:
commit
bdc78c96db
|
@ -19,3 +19,20 @@ cat ~/.ssh/id_rsa.pub
|
|||
```
|
||||
|
||||
Copy-paste the key to the 'My SSH Keys' section under the 'SSH' tab in your user profile. Please copy the complete key starting with `ssh-` and ending with your username and host.
|
||||
|
||||
Use code below to copy your public key to the clipboard. Depending on your OS you'll need to use a different command:
|
||||
|
||||
**Windows:**
|
||||
```bash
|
||||
clip < ~/.ssh/id_rsa.pub
|
||||
```
|
||||
|
||||
**Mac:**
|
||||
```bash
|
||||
pbcopy < ~/.ssh/id_rsa.pub
|
||||
```
|
||||
|
||||
**Linux (requires xclip):**
|
||||
```bash
|
||||
xclip -sel clip < ~/.ssh/id_rsa.pub
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue