PHP 8.5.2
Preview: sftp.conf Size: 1.16 KB
//etc/proftpd/sftp.conf

#
# Proftpd sample configuration for SFTP connections.
#
# Once enabled, you can even disable the sftpserver support of OpenSSH on port 22.
# To do that, comment out the Subsystem sftp /usr/lib/openssh/sftp-server
# line in /etc/ssh/sshd_config and restart the service.
#

<IfModule mod_sftp.c>
#SFTPEngine     on
#Port           2222
#SFTPLog        /var/log/proftpd/sftp.log
#
# Configure all host keys, using the same host key
# files that OpenSSH uses.
#
#SFTPHostKey /etc/ssh/ssh_host_rsa_key
#SFTPHostKey /etc/ssh/ssh_host_dsa_key
#SFTPHostKey /etc/ssh/ssh_host_rsa_key
#SFTPHostKey /etc/ssh/ssh_host_ecdsa_key
#SFTPHostKey /etc/ssh/ssh_host_ed25519_key
#
# Preferred authentication method is by keys
#
#SFTPAuthMethods publickey
#
# This is available only if mod_sftp_pam is used
# 
#SFTPAuthMethods keyboard-interactive
#
# Use either
#    ssh-keygen -e -f ~user/.ssh/id_rsa.pub >/etc/proftpd/authorized_keys/user
# or
#    ssh-keygen -e -f ~user/.ssh/authorized_keys >/etc/proftpd/authorized_keys/user
# to convert users public keys in RFC4716 format.
#
#SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u
#
# Enable compression
#
#SFTPCompression delayed
</IfModule>

Directory Contents

Dirs: 1 × Files: 11

Name Size Perms Modified Actions
conf.d DIR
- drwxr-xr-x 2024-05-09 07:08:08
Edit Download
1.25 MB lrw-r--r-- 2024-05-09 07:08:08
Edit Download
9.20 KB lrw-r--r-- 2024-05-09 07:08:08
Edit Download
4.25 KB lrw-r--r-- 2026-01-23 09:07:00
Edit Download
701 B lrw------- 2026-01-23 09:07:00
Edit Download
3.37 KB lrw-r--r-- 2026-01-23 09:07:00
Edit Download
5.75 KB lrw-r--r-- 2026-01-23 09:08:00
Edit Download
1.16 KB lrw-r--r-- 2026-01-23 09:07:00
Edit Download
982 B lrw-r--r-- 2026-01-23 09:07:00
Edit Download
862 B lrw------- 2026-01-23 09:07:00
Edit Download
2.03 KB lrw-r--r-- 2026-01-23 09:07:00
Edit Download
832 B lrw-r--r-- 2026-01-23 09:07:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).