diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-02-27 00:41:43 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-07 11:20:18 +0000 |
commit | bc60e28d20f20b6717577367d72d6276fb6fc6ec (patch) | |
tree | 66fe341f0fd1fc7a9813632b8c6c15459d6ec7aa /testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install | |
parent | 02ffd3f5c9a99a3d12f95fcdcb5129fea9f5c983 (diff) | |
download | aports-bc60e28d20f20b6717577367d72d6276fb6fc6ec.tar.bz2 aports-bc60e28d20f20b6717577367d72d6276fb6fc6ec.tar.xz |
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.
Diffstat (limited to 'testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install')
-rw-r--r-- | testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install b/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install new file mode 100644 index 0000000000..9b03cb3c54 --- /dev/null +++ b/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install @@ -0,0 +1,13 @@ +#!/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 |