Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
b92ce40d
Commit
b92ce40d
authored
Feb 03, 2016
by
Aaron Power
Committed by
Aaronepower
Feb 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Window's commands for SSH Help.
parent
3b080be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
doc/ssh/README.md
doc/ssh/README.md
+19
-2
No files found.
doc/ssh/README.md
View file @
b92ce40d
...
@@ -5,6 +5,12 @@
...
@@ -5,6 +5,12 @@
An SSH key allows you to establish a secure connection between your
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
computer and GitLab. Before generating an SSH key in your shell, check if your system
already has one by running the following command:
already has one by running the following command:
**Windows Command Line:**
```
bash
type
%userprofile%
\.
ssh
\i
d_rsa.pub
```
**GNU/Linux/Mac/PowerShell:**
```
bash
```
bash
cat
~/.ssh/id_rsa.pub
cat
~/.ssh/id_rsa.pub
```
```
...
@@ -25,6 +31,12 @@ press enter to use the default. If you use a different name, the key will not
...
@@ -25,6 +31,12 @@ press enter to use the default. If you use a different name, the key will not
be used automatically.
be used automatically.
Use the command below to show your public key:
Use the command below to show your public key:
**Windows Command Line:**
```
bash
type
%userprofile%
\.
ssh
\i
d_rsa.pub
```
**GNU/Linux/Mac/PowerShell:**
```
bash
```
bash
cat
~/.ssh/id_rsa.pub
cat
~/.ssh/id_rsa.pub
```
```
...
@@ -36,9 +48,14 @@ with your username and host.
...
@@ -36,9 +48,14 @@ with your username and host.
To copy your public key to the clipboard, use the code below. Depending on your
To copy your public key to the clipboard, use the code below. Depending on your
OS you'll need to use a different command:
OS you'll need to use a different command:
**Windows:**
**Windows Command Line:**
```
bash
type
%userprofile%
\.
ssh
\i
d_rsa.pub | clip
```
**Windows PowerShell:**
```
bash
```
bash
c
lip < ~/.ssh/id_rsa.pub
c
at
~/.ssh/id_rsa.pub | clip
```
```
**Mac:**
**Mac:**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment