aboutsummaryrefslogtreecommitdiffstats
path: root/main/ssh-getkey-ldap/ssh-getkey-ldap.post-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-01 23:22:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-02 15:34:54 +0200
commit12e13968b80892f0a78bfba308aeb7cb060d1d40 (patch)
tree2d89a7c26fcd3673f99747198069c65bbf0d0724 /main/ssh-getkey-ldap/ssh-getkey-ldap.post-install
parente2207f9276d616ba2ba2c70781c6e28ba49eca4a (diff)
downloadaports-12e13968b80892f0a78bfba308aeb7cb060d1d40.tar.bz2
aports-12e13968b80892f0a78bfba308aeb7cb060d1d40.tar.xz
testing/ssh-getkey-ldap: move to the main repo
Diffstat (limited to 'main/ssh-getkey-ldap/ssh-getkey-ldap.post-install')
-rw-r--r--main/ssh-getkey-ldap/ssh-getkey-ldap.post-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ssh-getkey-ldap/ssh-getkey-ldap.post-install b/main/ssh-getkey-ldap/ssh-getkey-ldap.post-install
new file mode 100644
index 0000000000..e5183e1d88
--- /dev/null
+++ b/main/ssh-getkey-ldap/ssh-getkey-ldap.post-install
@@ -0,0 +1,11 @@
+#!/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