how can I completely turn off ftp with proftp?

1.2k Views Asked by At

I only want to use SFTP and turn off FTP for my proftp server. I don't want to "Limit LOGIN", but turn it off completely. I also tried to turn off the DefaultServer, but this way the server still answers.

What I want is the response "ftp: connect: Connection refused". How can I configure proftp this way ?

2

There are 2 best solutions below

1
bertfred On BEST ANSWER

Unfortunately this isn't possible https://github.com/proftpd/proftpd/issues/822

EDIT: This actually is possible through setting the FTP port to 0.

1
EOhm On

I think there is another way that for me looks more clean:

  • Disable the default server (DefaultServer off)
  • and create vhost(s) for the services you want to offer.