Questions tagged [vsftpd]

VSFTPD ("Very Secure FTP Daemon") is an FTP server for Unix-like systems, including Linux.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Trying to understand vsftpd log

I'm currently learning Linux and using FTP however I can't make sense of the log file any help would be appreciated. root@ubuntu:/var/log# cat vsftpd.log Mon Jan 18 06:39:48 2021 [pid 2] CONNECT: ...
2
votes
1answer
17 views

Accessing memory stick wirelessly through vsftpd + WinSCP

To transfer files between a Windows 10 desktop and Linux laptop wirelessly using FTP, I installed vsftpd as the FTP server on the laptop and WinSCP as the FTP client on the desktop, and configured the ...
0
votes
0answers
18 views

vsftpd configuration for connection via internal and external ip

I'm trying to connect to my Raspberry Pi via ftp. Raspberrypi has installed vsftpd but I can't connect to it via local address or via ddns (public). I know I must open my router's ports, my firewall ...
0
votes
0answers
13 views

vsftpd - 550 chmod command failed

Yesterday I installed vsftpd. I managed to properly setup non anonymous chroot/uploads. However I can't manage to get working chmod command. config settings (simplified): local_enable=YES write_enable=...
0
votes
0answers
18 views

vsFTPd web acess

I've been with some difficulty to access the ftp via browser, everything fine through FileZilla. The error I got its I don't have permission to access the folder so for testing I changed to 777 access....
0
votes
0answers
20 views

vsftpd cannot write on the www linked directory

im trying to link the /var/www/html/ to a folder called FTP located in /home/pi/. I used for linking ln -s /var/www/html /home/pi/FTP whenever I try to upload anything via FTP I get an error. for ...
0
votes
0answers
24 views

How to get vsftpd working with signed SSL certificate

I have vsftpd working with a self-signed certificate, but would like to use our CA signed certificate instead. However, when configuring vsftpd to use the CA signed certificate (.pem file) and private ...
0
votes
1answer
35 views

How to change vsftpd to IPv4?

I am setting up two vsftp service running on port 21 and port 990. Can someone show me how I can change it to IPv4 instead of current IPv6? I can't find a way to change the setting to IPv4. Below is ...
0
votes
0answers
46 views

Passive mode not working on vsftpd

I have installed vsftpd on Ubuntu 18.04. When I try to connect it using filezilla, it shows the following error: Response: 257 "/" is the current directory Command: TYPE I Response: ...
0
votes
0answers
43 views

Run script in background to send files through ftp

I've made a script that automatically sends a file to another machine via ftp. Only thing you need to do is to input the IP, file name, user and password. #!/bin/bash read -p "Server ip " ...
0
votes
0answers
33 views

Enable FTP/port21 on server?

UPDATE: When I remove the ftp_username from vsftpd.conf, I get this error: 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp I have a RHEL (Red Hat Enterprise Linux) 7 server that ...
1
vote
0answers
23 views

Setting appropiate unix permissions for shared FTP access on WordPress directory

I have two user accounts on my Ubuntu server, one is part of the sudo group and the other is a standard user. For demonstration purposes I will use the following user names: admin_user (sudo group ...
-1
votes
1answer
122 views

Can't start vsftpd. vsftpd: must be started as root

I can't start my vsftpd, as shown below: guoyanzhang@debian:~$ sudo service vsftpd status ● vsftpd.service - vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor ...
2
votes
1answer
137 views

vsftpd with “encrypted private key”

I have created a FTPS server using vsftpd. When I use an unencrypted private key, vsftpd works fine. rsa_cert_file=/etc/vsftpd/unenc_cert.pem If I have to use a certificate that contains an encrypted ...
0
votes
0answers
37 views

How to find out home directory of a user

I created a FTP user a while ago. How can I find out his root directory? uname -a Linux linuxphp7 4.12.14-lp150.12.82-default #1 SMP Tue Nov 12 16:32:38 UTC 2019 (c939e24) x86_64 x86_64 x86_64 GNU/...
0
votes
1answer
301 views

Tell vsftpd to log to stdout instead of some file

By default, vsftpd logs to /var/log/vsftpd.log. stdout stays empty when started in foreground and I would like to utilize it so that it is easier. I don't really need to store the logs either. Help?
0
votes
0answers
120 views

VSFTPD 3.03, Ubuntu 18.04, No Access via Browser

Good day I have a VPS running headless ubuntu 18.04, and vsftpd 3.03. There is one generic user. I connect via ip4. When I log in via filezilla, the system takes me straight to the home directory, ...
0
votes
1answer
2k views

vsftp server returning 500 Illegal PORT command when tried to run raw ftp commands in telnet

Currently, I am trying to run ftp commands from telnet client. I was successful with USER, PASS, PASV, LIST and when tried PORT vsftp server is throwing 500 Illegal PORT command. I am following the ...
2
votes
0answers
302 views

How to monitor file transfer(upload/download) speed of a file in vsftpd

I'm using vsftpd as the server in my Linux system. In other Linux system, I'm using curl as a client for uploading and downloading files. I am able to monitor the current file transfer rate at the ...
0
votes
0answers
15 views

Configuring FTP to allow specific user to do everything and other users to read-only

I have to create a new user for ftp ( vsftpd ), which I already did adduser ftp_user and make directory ftp itself mkdir -p /home/ftp/ Now here is the part I don't fully understand, ftp user needs to ...
0
votes
1answer
199 views

Ubuntu - VSFTPD configuration for FTP fails on restart

I need to set up a FTP server within my Ubuntu virtual box but im having problems within configuration of the config file within VSFTPD From online tutorials i keep seeing different options being ...
1
vote
1answer
71 views

Load testing vsftpd causing high CPU load from unix_chkpwd

I'm working on a proof of concept to replace a samba file share with vsftpd (over TLS). This is not a public file store, and so the need for security is essential. And clients will only write to this ...
0
votes
1answer
64 views

vsftpd: 550 Permission denied trying to uploading/writing files

I've created a user jdoe and I wanted to map such a user to apache user. So everytime that I upload a file could be owned by apache. This is my /etc/vsftpd/vsftpd.conf file: listen=YES listen_ipv6=...
0
votes
0answers
29 views

Mounted hdd directory is not visible in the ftp client

I am running a vsftpd server in my Virtual Box Oracle Linux 8.1 pointing at location /home/ftpuser/ I have added an extra hdd with the mount point /home/ftpuser/mnthdd in my Virtual box. The issue ...
0
votes
1answer
2k views

How to fix FTP permission issue?

Have set up an FTP server and user. but it seems I'm unable to upload or edit any file. Even though the user has filled 777 permission. I can't even upload files to the user's root folder. Server OS:...
0
votes
0answers
11 views

FTP timing out when enabling ufw

I created a FTP server using vsftpd. So far, I've got it working using plain FTP. My next goal is to setup SSL/TLS. I have the configuration ready in the config, but first I wanted to get the firewall ...
0
votes
0answers
28 views

VSFTPD Not listing all directories

I am running into an odd situation where through various FTP clients, VSFTPD does not seem to return all directories in the directory listing. You'll see here in the FTP client that the error, ...
1
vote
1answer
1k views

“lftp” on RHEL6 fails to connect to vsftpd on RHEL7

I have configured vsftpd on RHEL7 and i am trying to transfer data to it using lftp from RHEL6. lftp seems to fail after sending the PASS command for anonymous login. ---> USER anonymous <--- ...
0
votes
1answer
28 views

Linux - Jail users into their directories

I want to jail users to their directory in /home I tried to use vsftpd with settings: local_enable=YES chroot_local_user=YES But it doesnt work properly. Users still have access to directories ...
1
vote
1answer
149 views

A program's output seems to be neither stdout nor stderr? [duplicate]

I got a program vsftpd which output doesn't seem to be either stdout or stderr (if that's even possible?) My terminal output is: ~# vsftpd 500 OOPS: SSL: cannot load RSA private key I tried to ...
1
vote
0answers
433 views

vsftpd - add a user with restriction to home directory without ssh access

I need to add a new user on my Ubuntu 18.04 server that can't login on a SSH terminal but has limited SFTP access to his home directory. Here's what I did: 1. I added the following line to /etc/...
0
votes
0answers
590 views

Curl FTPS error:1408F10B:SSL routines:ssl3_get_record:wrong version number

I've looked at the related issues but none of them solved my issue. I'm trying to transfer files via ftp using curl to a server in my dmz from an FTPS server on an EC2 server running vsftpd. $ curl ...
2
votes
4answers
4k views

How can I check currently installed and in use versions of SSL and TLS?

How can I check currently installed and in use versions of SSL and TLS? Strangely I couldn't find an answer online. Using Ubuntu 18.04. Edit: Thanks all! I am asking this as I have trouble connecting ...
1
vote
2answers
43 views

How to give users acces to some other home directories

I'm configuring GNU/Linux users as users for a vsftpd FTP server and I have the following safety constraints: User foo can read and write in his home directory. User bar can read and write in his ...
0
votes
1answer
1k views

vsftpd service does not start saying vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see: Nov 20 17:49:58 my-vm ...
1
vote
1answer
121 views

vsftpd include configuration from another file

I tried configuring vsftpd and was able to configure it successfully. Is there any option to "include" configuration from another file inside /etc/vsftpd/vsftpd.conf? I tried looking at the man page ...
0
votes
0answers
333 views

ssl not working in vsftpd; write:errno=32

this is what i have tried: 1) vsftpd.pem created using the following self-signed certificate: openssl req -x509 -nodes -newkey rsa:4096 -keyout $certname -out $certname -days 365 2) owner/...
0
votes
1answer
1k views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
0
votes
1answer
827 views

FTP not giving permission for actions for user that has permission

I have a user on my server (Debian) that I will be using for FTP. For a given directory on the file system, he is able to create directories/create files. myuser@debian-server:/storage$ su ...
0
votes
0answers
2k views

VSFTPD refuses to list directory when PASV is enabled

I'm configuring VSFTPD on Ubuntu 18.04 and have followed all the guidelines. It's working OK for plain FTP (insecure), however as soon as I enable SSL/TLS and Passive mode, it connects, but I am ...
0
votes
1answer
5k views

tftp - Error code 1: File not found

I need the correct syntax of tftp to get and put file. My ultimate goal is using busybox tftp (this should be second question), but it failed even trying to test with local Ubuntu tftp client. As you ...
0
votes
0answers
459 views

Able to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

I tried connecting to my FTP server (vsftpd/CentOS 7/Alibaba Cloud ECS) from my Window 7 system installed on a VirtualBox using FileZilla, and it seems to be working fine. But in my default system, ...
0
votes
1answer
873 views

Compiling vsftpd on CentOS7, getting “/usr/bin/ld: cannot find -lcap” error

I am in the process of compiling vsftpd, but keep getting this error: [alex@lab vsftpd-3.0.3]$ make gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o \ privsock.o tunables.o ftpdataio....
0
votes
1answer
140 views

Can't set root dir of vsftpd

My Arch Linux 4.20.2 serves files without a problem from vsftpd's default root directory, /srv/ftp/. The only addition I made to the config file at /etc/vsftpd.conf is seccomp_sandbox=NO This gets ...
1
vote
0answers
159 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. passwd: testftp:x:1001:1001::/home/testftp/:/bin/bash ...
0
votes
1answer
44 views

Deny specific users in VSFTPD

I have Ubuntu 18.04 LTS with VSFTPD. I want to deny certain users from connection via SFTP to my server. So far I have only found Q&A (here on stackexchange and on the internet in general) ...
2
votes
1answer
886 views

Ftp server login error 530 [closed]

I'm trying to build a ftp server, but got stuck with logging problem 530. Here are my configs: vsftpd.conf [root@### vsftpd]# cat vsftpd.conf | grep "^[^#]" anonymous_enable=NO local_enable=YES ...
0
votes
1answer
149 views

vsftp user upload files into moved folder outside of allowed folder

Google VM, centos 7, vsftpd server. I have ftpuser, homedir /var/www/html cat /etc/passwd | grep ftpuser ftpuser:x:1001:48::/var/www/html:/bin/bash from root user I have moved folder /var/www/html ...
0
votes
0answers
424 views

Remote FTP Failing to reach vsftpd on Ubuntu 16

I followed a tutorial to install and configure vsftpd service. Connecting from the local server, but connection is immediately refused from a remote. This is the config file contents: # /etc/vsftpd....
-1
votes
1answer
327 views

vsftpd access to /srv/www/domain.com/somedir

On Ubuntu 16 I am trying to give FTP access to a particular server directory which has files owned by web:www-data to an FTP user. I have changed the users home directory: usermod --home /srv/www/...

1
2 3 4 5