Applicable to:
- SolusVM
Symptoms
- Unable to start AutoFTP Backup. The following error is shown at SolusVM > Nodes > the_node > AutoFTP Backup > Log:
CONFIG_TEXT: =======================================================================
Backup Log Started : Mar 03 2021 23:00:02
=======================================================================
Connecting to 203.0.113.2 failed
=======================================================================
Backup Log Finished : Mar 03 2021 23:00:05
======================================================================= - While attempting to log in to the FTP server the following occurs:
# ftp 203.0.113.2
Connected to 203.0.113.2 (203.0.113.2 ).
220 (vsFTPd 3.0.2)
Name (203.0.113.2 :root): backup
530 Non-anonymous sessions must use encryption.
Login failed. - The vsFTPd service is used on an FTP server with an SSL connection.
Cause
SolusVM does not support such kinds of connections, it uses ncftp service
Resolution
- Log in to an FTP server via SSH
- Disable SSL at the FTP server by deleting the folder with the SSL key:
# rm -rf /etc/ssl/private
- Open the file
/etc/vsftpd/vsftpd.conf
in any text editor and remove the following lines:
CONFIG_TEXT: sl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1_1=YES
ssl_tlsv1_2=YES
ssl_tlsv1=NO
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=YES
ssl_ciphers=HIGH
rsa_cert_file=/etc/ssl/certs/vsftpd.crt
rsa_private_key_file=/etc/ssl/private/vsftpd.key - Restart the service
# systemctl restart vsftpd
Comments
0 comments
Please sign in to leave a comment.