Не работает sFTP. Помогите почему. "530 non-anonymous sessions must use encryption"
Не работает sFTP. Помогите почему. "530 non-anonymous sessions must use encryption"

Причём отказал внезапно, если создаю дополнительные фтп от пользователя admin, всё тоже самое.
Пользуюсь FAR'ом для коннекта с фтп
А Если подключаться через Total Commander, то выводит ошибку "530 non-anonymous sessions must use encryption"
конфиг vsftpd.cond:
Code: Select all
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
dual_log_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
allow_writeable_chroot=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
use_localtime=YES
ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1_2=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=YES
ssl_ciphers=HIGH
idle_session_timeout=600
data_connection_timeout=120
rsa_cert_file=/usr/local/vesta/ssl/certificate.crt
rsa_private_key_file=/usr/local/vesta/ssl/certificate.key
Re: Не работает sFTP. Помогите почему. "530 non-anonymous sessions must use encryption"
Сейчас я поменял логин фтп на root и зашёл.
Увидел, что истинная ошибка такая: "Received too large(1349281121 B) SFTP packet. Max supported packet size is 1024000B. The error is typically casued by message printed from startup script(like .profile)."
Погуглив я нашёл решение такое: "Typically you will need to move the commands that print the message from .bashrc script to .bash_profile." Но я не думаю, что это правильно. У кого было такое, какое решение проблемы?
Увидел, что истинная ошибка такая: "Received too large(1349281121 B) SFTP packet. Max supported packet size is 1024000B. The error is typically casued by message printed from startup script(like .profile)."
Погуглив я нашёл решение такое: "Typically you will need to move the commands that print the message from .bashrc script to .bash_profile." Но я не думаю, что это правильно. У кого было такое, какое решение проблемы?