FTP(vsftp) Transfer mode(전송 모드, Active Mode/Passive Mode)
FTP 전송모드 ※ 테스트 환경$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 22.04.1 LTSRelease: 22.04Codename: jammy ※ vsftpd(ftp) 서버 설치apt-get install -y vsftpd ※ vsftpd 버전 정보 $ vsftpd -version vsftpd: version 3.0.5vsftpd.conf(/etc/vsftpd.conf) 기본 설정 $ cat /etc/vsftpd.conf | egrep -v ‘^$|^#’listen=NOlisten_ipv6=YESanonymous_enable=NOlocal_enable=YESdirmessage_enable=YESuse_localtime=YESxferlog_enable=YESconnect_from_port_20=YESsecure_chroot_dir=/var/run/vsftpd/emptypam_service_name=vsftpdrsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pemrsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.keyssl_enable=NO ※ vsftpd 서비스 재시작 systemctl –now enable vsftpd ※ FTP 연결을 … Read more