Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LoadModule mod_sftp.c
- Include /home/user1/proftpd/etc/proftpd.conf
- <IfModule mod_sftp.c>
- # So we can track the PID and transfer
- PidFile /home/user1/proftpd/sftp.pid
- ScoreboardFile /home/user1/proftpd/sftp.scoreboard
- SFTPLog /home/user1/proftpd/sftp.log
- TransferLog /home/user1/proftpd/sftp-xfer.log
- #
- # Port is defined here
- Port 25177
- # SFTP Configuration
- SFTPEngine on
- SFTPCiphers aes256-ctr aes256-cbc
- SFTPDigests hmac-sha2-512 hmac-sha2-256 hmac-sha1
- SFTPHostKey /home/user1/proftpd/etc/keys/sftp_rsa
- SFTPHostKey /home/user1/proftpd/etc/keys/sftp_dsa
- SFTPAuthMethods publickey password
- SFTPAuthorizedUserKeys file:/home/user1/proftpd/etc/sftp/authorized_keys/%u
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement