Hallo ich habe einen Ubuntu 16.04 Server mit vsftp und habe mir dort ein Zertifikat nach einem HowTo selbst erstellt. Wenn ich die Einstellungen richtig setzte kann man sich nur noch per sftp anmelden. Allerdings möchte ich das sowohl verschlüsselte wie auch unverschlüsselte verbindungen möglich sind.
Der interessangte Teil meiner vsftpd.conf sieht wie folgt aus:
# # Uncomment this to indicate that vsftpd use a utf8 filesystem. #utf8_filesystem=YES ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=NO require_ssl_reuse=NO ssl_ciphers=HIGH ssl_tlsv1=YES ssl_sslv2=YES ssl_sslv3=NO