반응형
Linux Centos7 - FTP 접속 관련
Centos7 를 설치할 때, FTP 를 옵션으로 선택하였음에도.. 접속이 안되는 경우가 있습니다.
systemctl 명령어로 vsftpd를 시작/중지/상태확인합니다.
systemctl status vsftpd.service <– vsftpd 상태확인
systemctl start vsftpd.service <– vsftpd 시작
systemctl stop vsftpd.service <– vsftpd 중지
systemctl restart vsftpd.service <– vsftpd 재시작
방화벽으로 인해 접속이 안되는 경우가 있습니다.
— firewalld 실행 상태 확인systemctl status firewalld.service
— firewalld 중지
systemctl stop firewalld.service
— firewalld 자동중지(시스템시작시 자동시작 안함)
systemctl disable firewalld.service
root 계정으로 접속이 안될 떄
vi /etc/vsftpd/ftpusers
vi /etc/vsftpd/user_list
위 두 곳에서 root 제거
vsftpd 재실행
systemctl stop vsftpd.service
systemctl start vsftpd.service
반응형
'SW LAB > Linux' 카테고리의 다른 글
Linux : yum repository 추가 (0) | 2020.04.24 |
---|---|
Linux 방화벽 해제 (0) | 2020.04.24 |
Linux : FTP 접속 오류 (0) | 2020.04.23 |
Linux : IP 고정방법 (0) | 2020.04.23 |
Linux : 한글깨짐현상 수정 (0) | 2020.04.23 |
댓글