Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there
I got a problem after adding few lines in vsftpd.conf
about enabling ssl
my conf file look like this
#==========================
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log ''i never found that log file"
xferlog_std_format=YES
idle_session_timeout=600
chroot_local_user=YES
"still able to brows the entire system when I use something like WinScp sftp://mysite but from a regular browser it is fine just
pub and my home_dir!!!"
syslog_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
ssl_enable=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_ss1v3=YES
rsa_cert_file=/etc/secrets/vsftpd.pem
#==========================
vsftpd is running but when I run "service vsftpd status"
i always getting this message "vsftpd dead but subsys locked"
I found the same problem on a lot of forums some said it is related to the .pid file
but still getting this message
when I removed the ssl lines it works fine
i always getting this message "vsftpd dead but subsys locked"
This message is not from Vsftpd but the SysV init script.
Usually happens when the app bails out due to a config problem.
when I removed the ssl lines it works fine
Then by all means read the log ("touch" it if it doesn't exist) and reread the docs about using SSL. I think it would be best to start with getting a "basic" config to work and test between adding functionality. That way you get a better grip on what goes wrong.
xferlog_file=/var/log/vsftpd.log ''i never found that log file"
Lines like these are not valid AFAIK. Most apps require using the crunch, splat, pound sign, number sign, hash mark or whatever you call the "#" glyph to comment.
thanks for your reply
I got that log file after I added this line
dual_log_enable=YES
and this message "SysV init msg" stopped after I commented out these lines
#ssl_sslv2=YES
#ssl_ss1v3=YES
and I added these 2 lines also
force_local_data_ssl=YES
force_local_logins_ssl=YES
but now I'm in different issue
when I connect ftp://mysite it works fine
but ftp://someone@mysite it give me 530 Non-anonymous sessions must use encryption
what I'm suppose to write in the url sftp yelled another program as ssh and scp
I did that already --firefox doesn't know how to open this uri
IE something like rewrite it as ftp://mysite then ask me the user/pass
then gives me the same "530 NON blablabla msg"
Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.