File: sftp-ldap.conf

package info (click to toggle)
proftpd-mod-sftp-ldap 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 448 kB
  • sloc: sh: 3,020; ansic: 978; makefile: 107
file content (22 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Proftpd sample configuration for sftp_ldap.
# please uncomment configurations to activate
#
<IfModule mod_ldap.c>
# mod_ldap configuration here
</IfModule>

<IfModule mod_sftp.c>
  SFTPEngine on
  SFTPLog /path/to/sftp.log

  # Host keys, for server host authentication
  SFTPHostKey /etc/ssh_host_dsa_key
  SFTPHostKey /etc/ssh_host_rsa_key

  <IfModule mod_sftp_ldap.c>
    # Instead of using a file-based key store, we tell mod_sftp to use
    # the LDAP-based key store provided by mod_sftp_ldap
    SFTPAuthorizedUserKeys ldap:
  </IfModule>
</IfModule>