Cara Install VSFTPD Ubuntu 20.04
#apt-get install vsftpd
#mv /etc/vsftpd.conf /etc/vsftpd.conf_orig
#nano /etc/vsftpd.conf
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO
pasv_enable=Yes
pasv_min_port=10000
pasv_max_port=10100
allow_writeable_chroot=YES
#systemctl restart vsftpd
#useradd -m PG0001
#passwd PG0001
New password:
Retype new password:
passwd: password updated successfully
Testing simpan file
#bash -c "echo FTP TESTING > /home/PG0001/FTP-TEST"
ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 3.0.3)
Name (127.0.0.1:eenpahlefi): PG0001
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 12 Mar 04 22:41 FTP-TEST
226 Directory send OK.
ftp>
Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom
0 Response to "Cara Install VSFTPD Ubuntu 20.04"
Post a Comment