Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

General Questions • Re: vsFTPd second instance of FTP Server

$
0
0
Hello @fabien it seems that the command ending with &, is not working on debian 12.7, i don't know why.

I had some progress : i found out that the default service instance for vsFTPd is under: /lib/systemd/system/vsftpd.service
with the default config file for this service : sudo nano /etc/vsftpd.conf

in each duplicated service file i had to sudo nano and edit the path of the related config file. for example:

cd /lib/systemd/system/vsftpd.service
cd /lib/systemd/system/vsftpd1.service
cd /lib/systemd/system/vsftpd2.service
sudo nano /etc/vsftpd.conf
sudo nano /etc/vsftpd1.conf
sudo nano /etc/vsftpd2.conf

to load in parallel :
sudo systemctl enable vsftpd
sudo systemctl enable vsftpd1
sudo systemctl enable vsftpd2

in each config file a different listening port for the ftp server need to be used, by adding the line in each config file:
listen=YES #(default 21)

listen=YES
listen_port=28

listen=YES
listen_port=29

that's about it. the above example initializes three different vsFTPd instances on the same Debian system.

Statistics: Posted by Bambos — 2024-10-21 05:16



Viewing all articles
Browse latest Browse all 2901

Trending Articles