ISPConfig3 - SFTP

Discussion in 'Installation/Configuration' started by peterspoon, Mar 17, 2009.

  1. peterspoon

    peterspoon New Member

    Hi,

    I run ISPC3 on Debian Lenny server. Is there an easy way to get SFTP working on such configuration without using patched ssh server?
    I would like to use secure FTP connection for existing FTP users.

    EDIT:
    I forgot about "shell user functionality" in ISPC3, which would probably do the job...

    EDIT2:
    Is there a way to enable sftp without creating a shell-user with jailkit? All this creates mess in the folders. I don't need this bunch of extra folders for shell-user, just secure ftp connection.
    By the way, tabs on the shell-user form somehow doesn't work - going to Options tab, and then going back and saving a record result by saving empty values, and user name is being changed with prefix "default", not client name...
     
    Last edited: Mar 17, 2009
  2. Ben

    Ben Active Member Moderator

    Last edited: Mar 17, 2009
  3. peterspoon

    peterspoon New Member

    Thank you Ben,

    I just wanted to enable a secure FTP connection, no matter which method would be used...
    So it seems that setting up pureftpd with TLS is quite simple.

    If anyone interested:
    First I created a self-signed certificate in /etc/ssl/private

    Code:
    openssl req -x509 -nodes -newkey rsa:1024 -keyout \
      /etc/ssl/private/pure-ftpd.pem \
      -out /etc/ssl/private/pure-ftpd.pem
    Code:
    chmod 600 /etc/ssl/private/*.pem


    then created a config file in /etc/pure-ftpd/conf/
    named "TLS" with a value: 1, to enable tls at the boot.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page