b정리/이것이 리눅스다-우분투-3판
FTP-vsftpd-sftpd
궁굼하다
2024. 11. 22. 12:23
728x90
반응형
https://www.youtube.com/watch?v=QqdxRAqlNHc&list=PLqTUMsvO70nnPQ42mtOKCgzlXeIy8GB0U&index=65
apt update; apt -y install vsftpd
vi /etc/vsftpd.conf
#####
anonymous_enable=NO에서 YES로 변경
write_enable=YES 주석제거
anon_upload_enable=YES 주석제거
anon_mkdir_write_enable 주석제거
######
cd /srv/ftp
mkdir pub
chmod 777 pub
cp /boot/vmlinux-6-* pub/file1
chmod 644 pub/file1
##ftpd server start
systemctl enable --now vsftpd
systemctl status vsftpd
ufw disable
WinSCP로 클라이언트 설치해서 접근
https://winscp.net/eng/download.php#google_vignette
WinSCP :: Official Site :: Download
WinSCP 6.3 Download WinSCP 6.3 is a major application update. New features and enhancements include: Single large file can be downloaded using multiple SFTP connections. Support for OpenSSH certificates for host verification. File hash can be used as crite
winscp.net
HOST WinSCP로 하기위해 Host 네트워크 카드로 테스트
apt -y install lftp
cp /boot/vmlinux-* file2
lftp 192.168.111.100
put file2
get file1
bye
반응형