Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created August 7, 2013 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fapestniegd/6177016 to your computer and use it in GitHub Desktop.
Save fapestniegd/6177016 to your computer and use it in GitHub Desktop.
[jameswhite@ve ~]$ authkeys -h
USAGE: /usr/local/sbin/authkeys { -s <ldap set> | -g <ldap_posix_group> | -u <ldap_posix_uidname> } [-f outfile] [-o <owner>] [ -p <perms>]
Examples: /usr/local/sbin/authkeys -g bofh -u whitejs -f /root/.ssh/authorized_keys
/usr/local/sbin/authkeys -g bofh -g admins -u james > /root/.ssh/authorized_keys
/usr/local/sbin/authkeys -s root_authorized_keys -g admins -u james > /root/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment