Skip to content
Snippets Groups Projects
Commit b92ce40d authored by Aaron Power's avatar Aaron Power Committed by Aaronepower
Browse files

Fixed Window's commands for SSH Help.

parent 3b080be3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,6 +5,12 @@
An SSH key allows you to establish a secure connection between your
computer and GitLab. Before generating an SSH key in your shell, check if your system
already has one by running the following command:
**Windows Command Line:**
```bash
type %userprofile%\.ssh\id_rsa.pub
```
**GNU/Linux/Mac/PowerShell:**
```bash
cat ~/.ssh/id_rsa.pub
```
Loading
Loading
@@ -25,6 +31,12 @@ press enter to use the default. If you use a different name, the key will not
be used automatically.
 
Use the command below to show your public key:
**Windows Command Line:**
```bash
type %userprofile%\.ssh\id_rsa.pub
```
**GNU/Linux/Mac/PowerShell:**
```bash
cat ~/.ssh/id_rsa.pub
```
Loading
Loading
@@ -36,9 +48,14 @@ with your username and host.
To copy your public key to the clipboard, use the code below. Depending on your
OS you'll need to use a different command:
 
**Windows:**
**Windows Command Line:**
```bash
type %userprofile%\.ssh\id_rsa.pub | clip
```
**Windows PowerShell:**
```bash
clip < ~/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub | clip
```
 
**Mac:**
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment