0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

centos で vsftpd ftp

Last updated at Posted at 2021-12-20

今回は centosstream8。
FTPサーバーを立てましょう。

ftpをインスコします

dnf -y install vsftpd

設定ファイル編集

/etc/vsftpd/vsftpd.conf

# コメントを外す

chroot_local_user=YES
chroot_list_enable=YES

# 追記
pasv_enable=YES
pasv_min_port=60001
pasv_max_port=60010
force_dot_files=YES
use_localtime=YES

ユーザー追加

vim /etc/vsftpd/chroot_list


hideki

firewall を オープン


firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload

起動


systemctl start vsftpd
systemctl enable vsftpd

OK

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?