Wednesday, March 2, 2022

How To install FTP Server (VSFTPD) & Client On Rocky Linux 8.5

 in This Tutorial you will Learn "How To install FTP Server (VSFTPD) & FTP Client On Rocky Linux 8.5"

vsftpd (Very Secure FTP Daemon) is a lightweight, stable and secure FTP server for UNIX-like systems.
Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf -y install vsftpd
gedit /etc/vsftpd/vsftpd.conf &>/dev/null
ascii_upload_enable=YES | ascii_download_enable=YES
chroot_local_user=YES  | chroot_list_enable=YES | chroot_list_file=/etc/vsftpd/chroot_list
ls_recurse_enable=YES

local_root=public_html
use_localtime=YES
seccomp_sandbox=NO
nano /etc/vsftpd/chroot_list
# add users you allow to move over their home directory
debs
systemctl enable --now vsftpd ; systemctl restart vsftpd
firewall-cmd --add-service=ftp ; firewall-cmd --runtime-to-permanent
_________________________________________________________________________________________
FTP Client (Rocky Linux) -
cat /etc/system-release ; sestatus ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf -y install lftp
lftp -u debs 192.168.1.20
_________________________________________________________________________________________



No comments:

Post a Comment