about SFTP

Discussion in 'Developers' Forum' started by xinhvatra, Aug 3, 2009.

  1. xinhvatra

    xinhvatra New Member

    i want to use both FTP and SFTP.but when i use this code in proftpd.conf to use SFTP i can't access server on FTP by FileZilla.can i config proftpd to use both FTP and SFTP at the same time.

    code in proftpd.conf:
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    <IfModule mod_sftp.c>
    SFTPEngine On
    SFTPHostKey /etc/ssh/ssh_host_rsa_key
    SFTPHostKey /etc/ssh/ssh_host_dsa_key
    </IfModule>
     
  2. till

    till Super Moderator

    SFTP normally belongs to the SSH server and not to the FTP Server. You dont have to configure proftpd for it as sftp works out of the box if you installed your server as described in the perfect setup guide, just make sure that you enabled ssh access for the website and user.
     
  3. xinhvatra

    xinhvatra New Member

    when i do not use SFTP i still use FTP normally. but when i enable SFTP i cant use FTP. remember only with FileZilla. if i use putty it is Ok.
     

Share This Page