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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
54ff051d
Commit
54ff051d
authored
Jul 11, 2017
by
Athar Hameed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for different sshd_config path for Omnibus Docker.
parent
d1748c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/administration/operations/speed_up_ssh.md
doc/administration/operations/speed_up_ssh.md
+2
-2
No files found.
doc/administration/operations/speed_up_ssh.md
View file @
54ff051d
...
...
@@ -36,7 +36,7 @@ sudo chown root:git /opt/gitlab-shell/authorized_keys
sudo chmod 0650 /opt/gitlab-shell/authorized_keys
```
Add the following to
`/etc/ssh/sshd_config`
:
Add the following to
`/etc/ssh/sshd_config`
or to
`/assets/sshd_config`
if you are using Omnibus Docker
:
```
AuthorizedKeysCommand /opt/gitlab-shell/authorized_keys %u %k
...
...
@@ -69,7 +69,7 @@ This is a brief overview. Please refer to the above instructions for more contex
1.
[
Rebuild the `authorized_keys` file
](
../raketasks/maintenance.md#rebuild-authorized_keys-file
)
1.
Enable writes to the
`authorized_keys`
file in Application Settings
1.
Remove the
`AuthorizedKeysCommand`
lines from
`/etc/ssh/sshd_config`
1.
Remove the
`AuthorizedKeysCommand`
lines from
`/etc/ssh/sshd_config`
or from
`/assets/sshd_config`
if you are using Omnibus Docker.
1.
Reload sshd:
`sudo service sshd reload`
1.
Remove the
`/opt/gitlab-shell/authorized_keys`
file
...
...
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