aboutsummaryrefslogtreecommitdiffstats
path: root/main/ssh-getkey-ldap/ssh-getkey-ldap.post-install
diff options
context:
space:
mode:
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