aports/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install
Jakub Jirutka bc60e28d20 testing/ssh-getkey-ldap: new aport
https://github.com/jirutka/ssh-getkey-ldap
A simple script to be used as AuthorizedKeysCommand in OpenSSH server to look up user's public keys in LDAP.
2016-03-07 11:20:18 +00:00

14 lines
271 B
Bash

#!/bin/sh
cat <<EOF 1>&2
*
* If you want OpenSSH server to look up user's public keys in LDAP,
* add the following lines to /etc/ssh/sshd_config and reload sshd:
*
* AuthorizedKeysCommand /usr/bin/ssh-getkey-ldap
* AuthorizedKeysCommandUser nobody
*
EOF
exit 0