Last active
          June 3, 2016 11:40 
        
      - 
      
- 
        Save MiteshShah/8f6817b57a3d547c7eb744349d340d48 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <IfModule mod_sftp.c> | |
| SFTPEngine on | |
| Port 2222 | |
| SFTPLog /var/log/proftpd/sftp.log | |
| # Configure both the RSA and DSA 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 | |
| SFTPAuthMethods password | |
| #SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u | |
| # Enable compression | |
| SFTPCompression delayed | |
| </IfModule> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment