-
Notifications
You must be signed in to change notification settings - Fork 117
$GITOLITE_HOME/.ssh/authorized_keys not updating #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I also confirm this behavior. I'm running Redmine 2.5.1 with gitolite 3.5 on Debian. |
I've also noticed that all new added pub keys are trimmed in gitolite repository files in «keys» folder |
I've fixed this using mysql query: ALTER TABLE `gitolite_public_key` MODIFY `key` TEXT; |
Did this fix the keys in ~/.ssh/authorized_keys? On Tuesday, May 6, 2014, Pasha MESH [email protected] wrote:
|
Nope. Need to recreate keys |
After you re-created the keys, were new keys added to authorized_keys? |
It looks like my database entries were already correct.
On Tue, May 6, 2014 at 9:10 AM, Pasha MESH [email protected] wrote:
|
Maybe, migration fix problem, but key was already trimmed |
Try to add new key |
Neither of my keys were trimmed. I'll try to delete and re-add. On Tue, May 6, 2014 at 11:25 AM, Pasha MESH [email protected]:
|
This is fixed in commit ae48a33. Btw, be sure to use a stable branch (or a tarball release) and not the |
I'm sorry but the commit ae48a33 didn't fix the bug. I currently running redmine_git_hosting 0.7.2 (migrated from 0.6.1) on Redmine 2.3.0.stable.11727 with Gitolite 2.3-1 and Git 1.9.1. I checked the database, the keys, ... everything is OK but the file ".ssh/authorized_keys" is never updated when I add a key. EDIT: I upgraded to latest Redmine 2.5.1. The bug is still here :( |
It looks like the plugin is successfully committing and pushing my configuration changes to gitolite-admin.git, but authorized_keys does not contain the new keys.
I'm running redmine 2.5.1 with gitolite 2.3 on debian.
Relevant log showing that keys are being added:
However, ~/.ssh/authorized_keys for my git user only contains the admin key.
The text was updated successfully, but these errors were encountered: