diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2014-11-20 12:18:28 +0100 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2014-11-20 12:18:28 +0100 |
commit | c4fc734e78f8061e54e3d7374e8db5eb6f555290 (patch) | |
tree | 3ac32d67484aeda7118e23ad891c857888056e17 /doc/raketasks | |
parent | 20cd7a50be263f954ffc7157892e94aa09f78d04 (diff) | |
download | gitlab-ce-c4fc734e78f8061e54e3d7374e8db5eb6f555290.tar.gz |
add rebuilding of authorized_keys to docs
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/maintenance.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md index f6bd7565799..c8696861067 100644 --- a/doc/raketasks/maintenance.md +++ b/doc/raketasks/maintenance.md @@ -122,3 +122,26 @@ 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: +``` +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 + +............................ +``` |