반응형
public
#apt install proftpd fail2ban -y
#cd /etc/ssl/
#scp 200.220.55.1:/etc/ssl/ftp.* ./
#chmod 777 -R /var/www/
#vi /etc/proftpd/proftpd.conf
#vi /etc/proftpd/proftpd.conf
#cd /etc/proftpd/
#touch ftpd.passwd
#touch ftpd.group
#chown proftpd:nogroup ftpd.*
#chmod 400 ftpd.*
#ftpasswd -file /etc/proftpd/ftpd.passwd -uid 33 -gid 33 -name webmaster -shell /bin/false -home /home/webmaster -passwd
※ Passw0rd$
#ftpasswd -file /etc/proftpd/ftpd.group -group -name www-data -gid 33 -member webmaster
#systemctl restart proftpd
#vi /etc/fail2ban/jail.conf
#systemctl restart fail2ban
반응형
'OS > Linux' 카테고리의 다른 글
[기능대회] 1과제 Client VPN 구성 (0) | 2021.11.09 |
---|---|
[기능대회] 1과제 Mail Service 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Reverse Proxy 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Web Service 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Certificate Authority 구성 (0) | 2021.11.09 |