On Mon, Jan 4, 2010 at 10:35 AM, Marius Mårnes Mathiesen
<[email protected]> wrote:
> On Wed, Dec 30, 2009 at 5:09 PM, Benjamin Podszun
> <[email protected]> wrote:
>> The database has overlaps with the filesystem (it contains the ssh
>> keys, but what happens if the git user's authenticated_keys2 is empty
>> because I just set the machine up again?) where I can see potential
>> problems.
>
> Extracting the ssh keys from the database to the authorized_keys file is
> done by the ssh_key_processor script, which again calls out to the SshKey
> class. Provided you have the poller script running, entering something along
> the lines of:
>   SshKey.all.each(&:publish_creation_message)
> would put messages on the message queue that, when processed, would add the
> key to the authorized_keys file.
>

Awesome. Thanks for helping me out with stuff like that. Without some
ruby knowledge this isn't obvious at all.

Thanks a lot and regards,
Ben

--

You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en.


Reply via email to