Last modified: 2013-11-29 16:45:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59752, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57752 - fetch ssh authorized_keys via LDAP
fetch ssh authorized_keys via LDAP
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-29 16:45 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-11-29 16:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-11-29 16:45:58 UTC
The ssh public keys of users are retrieved from a NFS share /public/keys using in sshd_config:

 AuthorizedKeysFile	/etc/ssh/userkeys/%u/.ssh/authorized_keys

The OpenSSH in Ubuntu saucy supports a new command AuthorizedKeysCommand which would let us retrieve the public keys directly from LDAP.

Ubuntu bug:
 https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/911747

Example configuration:

 AuthorizedKeysCommand "/usr/libexec/openssh/ssh-pubkey-helper -s %u"



We can't really deploy that on our labs instance right now since they are using Precise. So I am logging this bug for later on.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links