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
Boxiang Sun
gitlab-ce
Commits
941cfd1f
Commit
941cfd1f
authored
Apr 13, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10136 from samjwlee/master
(doc) fix typo to ssh keys doc url
parents
734df1bb
fd248b0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/ci/ssh_keys/README.md
doc/ci/ssh_keys/README.md
+4
-4
No files found.
doc/ci/ssh_keys/README.md
View file @
941cfd1f
...
@@ -30,7 +30,7 @@ This is the universal solution which works with any type of executor
...
@@ -30,7 +30,7 @@ This is the universal solution which works with any type of executor
## SSH keys when using the Docker executor
## SSH keys when using the Docker executor
You will first need to create an SSH key pair. For more information, follow the
You will first need to create an SSH key pair. For more information, follow the
instructions to
[
generate an SSH key
](
../ssh/README.md
)
.
instructions to
[
generate an SSH key
](
../
../
ssh/README.md
)
.
Then, create a new
**Secret Variable**
in your project settings on GitLab
Then, create a new
**Secret Variable**
in your project settings on GitLab
following
**Settings > Variables**
. As
**Key**
add the name
`SSH_PRIVATE_KEY`
following
**Settings > Variables**
. As
**Key**
add the name
`SSH_PRIVATE_KEY`
...
@@ -63,7 +63,7 @@ before_script:
...
@@ -63,7 +63,7 @@ before_script:
As a final step, add the _public_ key from the one you created earlier to the
As a final step, add the _public_ key from the one you created earlier to the
services that you want to have an access to from within the build environment.
services that you want to have an access to from within the build environment.
If you are accessing a private GitLab repository you need to add it as a
If you are accessing a private GitLab repository you need to add it as a
[
deploy key
](
../ssh/README.md#deploy-keys
)
.
[
deploy key
](
../
../
ssh/README.md#deploy-keys
)
.
That's it! You can now have access to private servers or repositories in your
That's it! You can now have access to private servers or repositories in your
build environment.
build environment.
...
@@ -79,12 +79,12 @@ on, and use that key for all projects that are run on this machine.
...
@@ -79,12 +79,12 @@ on, and use that key for all projects that are run on this machine.
First, you need to login to the server that runs your builds.
First, you need to login to the server that runs your builds.
Then from the terminal login as the
`gitlab-runner`
user and generate the SSH
Then from the terminal login as the
`gitlab-runner`
user and generate the SSH
key pair as described in the
[
SSH keys documentation
](
../ssh/README.md
)
.
key pair as described in the
[
SSH keys documentation
](
../
../
ssh/README.md
)
.
As a final step, add the _public_ key from the one you created earlier to the
As a final step, add the _public_ key from the one you created earlier to the
services that you want to have an access to from within the build environment.
services that you want to have an access to from within the build environment.
If you are accessing a private GitLab repository you need to add it as a
If you are accessing a private GitLab repository you need to add it as a
[
deploy key
](
../ssh/README.md#deploy-keys
)
.
[
deploy key
](
../
../
ssh/README.md#deploy-keys
)
.
Once done, try to login to the remote server in order to accept the fingerprint:
Once done, try to login to the remote server in order to accept the fingerprint:
...
...
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