Cara Install VSFTPD with SSL TLS di 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

pasv_enable=Yes

pasv_min_port=10000

pasv_max_port=10100

allow_writeable_chroot=YES

-------------------------------------------------------------------------------------

Dibawah ini bagian SSL dan TLS

ssl_enable=YES

rsa_cert_file=/etc/ssl/private/vsftpd.pem

rsa_private_key_file=/etc/ssl/private/vsftpd.pem

allow_anon_ssl=NO

force_local_data_ssl=YES

force_local_logins_ssl=YES

ssl_tlsv1=YES

ssl_sslv2=NO

ssl_sslv3=NO

require_ssl_reuse=NO

ssl_ciphers=HIGH




#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> 


Untuk menguji versi gui nya silahkan gunakan WINSCP/FILEZILLA












Semoga Bermanfaat 

Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Install VSFTPD with SSL TLS di Ubuntu 20.04"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel