Commit 981d3869 authored by Michael Kozono's avatar Michael Kozono

Improve “How to go back to `authorized_keys`” docs

parent 65c3b156
...@@ -62,8 +62,8 @@ Then you can backup and delete your `authorized_keys` file for best performance. ...@@ -62,8 +62,8 @@ Then you can backup and delete your `authorized_keys` file for best performance.
This is a brief overview. Please refer to the above instructions for more context. This is a brief overview. Please refer to the above instructions for more context.
1. Rebuild the `authorized_keys` file. See https://docs.gitlab.com/ce/administration/raketasks/maintenance.html#rebuild-authorized_keys-file 1. [Rebuild the `authorized_keys` file](../raketasks/maintenance.md#rebuild-authorized_keys-file)
1. Enable writes to the `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`
1. Reload the sshd service 1. Reload sshd: `sudo service sshd reload`
1. Remove the `/opt/gitlab-shell/authorized_keys` file 1. Remove the `/opt/gitlab-shell/authorized_keys` file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment