> I tried the below configuration in my proftpd.conf file.
> 
> <IfModule mod_sftp.c>
>     <VirtualHost 127.0.0.1>
>       SFTPEngine on
>       SFTPLog /etc/proftpd/sftp/sftp.log
> 
>       # Configure the server to listen on the normal SSH2 port, port 22
>       Port 22
> 
>       # Configure the RSA, DSA, and ECDSA host keys, using the same host key
>       # files that OpenSSH uses.
> #      SFTPHostKey /etc/ssh_host_rsa_key
> #     SFTPHostKey /etc/ssh_host_dsa_key
> #      SFTPHostKey /etc/ssh_host_ecdsa_key
> 
>       # Configure the file used for comparing authorized public keys of users.
> #      SFTPAuthorizedUserKeys file:~/.sftp/authorized_keys
> 
>       # Enable compression
> #      SFTPCompression delayed
> 
>       # Allow the same number of authentication attempts as OpenSSH.
>       #
>       # It is recommended that you explicitly configure MaxLoginAttempts
>       # for your SSH2/SFTP instance to be higher than the normal
>       # MaxLoginAttempts value for FTP, as there are more ways to authenticate
>       # using SSH2.
>       MaxLoginAttempts 6
> 
>     </VirtualHost>
>   </IfModule>
> #<IfModule mod_sftp.c>
> 
> *And got the below error while trying to do sftp. Can you please let me 
> know if I am missing anything?*

At this point, you should check the configured SFTPLog, as well as proftpd 
debug logging:

  http://www.proftpd.org/docs/howto/Debugging.html

for additional information/clues about what else might be missing/wrong.

TJ


_______________________________________________
ProFTPD Developers List
<[email protected]>
https://lists.sourceforge.net/lists/listinfo/proftp-devel

Reply via email to