Advertisement
b1scu1t

sftp.conf

Mar 19th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. LoadModule mod_sftp.c
  2.  
  3. Include /home/user1/proftpd/etc/proftpd.conf
  4.  
  5. <IfModule mod_sftp.c>
  6. # So we can track the PID and transfer
  7. PidFile /home/user1/proftpd/sftp.pid
  8. ScoreboardFile /home/user1/proftpd/sftp.scoreboard
  9. SFTPLog /home/user1/proftpd/sftp.log
  10. TransferLog /home/user1/proftpd/sftp-xfer.log
  11. #
  12. # Port is defined here
  13. Port 25177
  14. # SFTP Configuration
  15. SFTPEngine on
  16. SFTPCiphers aes256-ctr aes256-cbc
  17. SFTPDigests hmac-sha2-512 hmac-sha2-256 hmac-sha1
  18. SFTPHostKey /home/user1/proftpd/etc/keys/sftp_rsa
  19. SFTPHostKey /home/user1/proftpd/etc/keys/sftp_dsa
  20. SFTPAuthMethods publickey password
  21. SFTPAuthorizedUserKeys file:/home/user1/proftpd/etc/sftp/authorized_keys/%u
  22. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement