diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2014-11-20 12:23:25 +0000 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2014-11-20 12:23:25 +0000 |
commit | b036300f0ac7442c488a6eef6a85c3f6cb77d7fd (patch) | |
tree | 807a14d1164d07cb160e5f12465ab2e48e21dfc4 | |
parent | 20cd7a50be263f954ffc7157892e94aa09f78d04 (diff) | |
parent | a72a919ae5cf8d8984fef50ed3cac141fe17cc66 (diff) | |
download | gitlab-ce-b036300f0ac7442c488a6eef6a85c3f6cb77d7fd.tar.gz |
Merge branch 'rebuild-keys' into 'master'
Rebuild keys
This was clearly lacking for the documenation.
See merge request !1267
-rw-r--r-- | doc/raketasks/maintenance.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md index f6bd7565799..8bef92e55fe 100644 --- a/doc/raketasks/maintenance.md +++ b/doc/raketasks/maintenance.md @@ -122,3 +122,27 @@ sudo -u git -H mkdir -p /home/git/gitlab-satellites sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites ``` + +## Rebuild authorized_keys file + +In some case it is necessary to rebuild the `authorized_keys` file. + + +For Omnibus-packages: +``` +sudo gitlab-rake gitlab:shell:setup +``` + +For installations from source: +``` +cd /home/git/gitlab +sudo -u git -H bundle exec rake gitlab:shell:setup RAILS_ENV=production +``` + +``` +This will rebuild an authorized_keys file. +You will lose any data stored in authorized_keys file. +Do you want to continue (yes/no)? yes + +............................ +``` |