VSFTPD特定的密码

我正在寻找一种方法来定义Ubuntu服务器上VSFTPD的自定义encryption套件。

我发现我可以通过HIGH / MEDIUM / LOW指定密码。 但是,这对我来说还不够,因为我需要手动configuration密码。

有没有办法做到这一点?

从vsftpd.conf手册我可以阅读

ssl_ciphers This option can be used to select which SSL ciphers vsftpd will allow for encrypted SSL connections. See the ciphers man page for further details. Note that restricting ciphers can be a use‐ ful security precaution as it prevents malicious remote parties forcing a cipher which they have found problems with. Default: DES-CBC3-SHA 

然后,如果我检查密码手册(openssl的一部分),它提供了可以使用的所有types的密码。 其实LOW / MEDIUM / HIGH就是这样定义的

 HIGH "high" encryption cipher suites. This currently means those with key lengths larger than 128 bits, and some cipher suites with 128-bit keys. MEDIUM "medium" encryption cipher suites, currently some of those using 128 bit encryption. LOW "low" encryption cipher suites, currently those using 64 or 56 bit encryption algorithms but excluding export cipher suites. 

所以基本上,您可以使用密码手册中指定的任何密码string。