Can openssh fetch pubkeys via network, i.e. via LDAP?

Solution Verified - Updated -

Issue

  • When a user tries to log in openssh should not only consult local files like ~/.ssh/authorized_keys but fetch the pubkey via network or from other sources.
  • The patches at http://code.google.com/p/openssh-lpk/ facilitate fetching via LDAP, will this be included in openssh as delivered?
  • Until RHEL6.3 I used an own script with AuthorizedKeysCommand together to fetch ssh user pubkeys from LDAP. Since RHEL6.3 it is possible to use AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys to fetch ssh keys, can this replace my old script?

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.