본문 바로가기

리눅스

[리눅스] ftps 클라이언트 접속 방법(lftp/filezilla)

728x90

lftp 패키지 설치

yum install -y lftp
$ lftp --version
LFTP | Version 4.4.8 | Copyright (c) 1996-2013 Alexander V. Lukyanov

LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LFTP.  If not, see <http://www.gnu.org/licenses/>.

Send bug reports and questions to the mailing list <lftp@uniyar.ac.ru>.

Libraries used: Readline 6.2

ftps 클라이언트 접속 방법

1. 명령어 나열하여 접속

lftp -e "set ftp:ssl-auth TLS; set ftp:ssl-force true; set ssl:verify-certificate no; set ftp:ssl-protect-data true;" remote-server -p remote-server-port

> user ftp_user

lftp -e "set ftp:ssl-auth TLS; set ftp:ssl-force true; set ssl:verify-certificate no; set ftp:ssl-protect-data true;" ftps.sangchul.kr -p 990
user ftp_user
$ lftp -e "set ftp:ssl-auth TLS; set ftp:ssl-force true; set ssl:verify-certificate no; set ftp:ssl-protect-data true;" ftps.sangchul.kr -p 990
lftp ftps.sangchul.kr:~> user ftp_user
비밀번호: 
lftp ftp_user@ftps.sangchul.kr:~> ls

2. 환경 설정(.lftprc) 파일 생성 후 접속

.lftprc 파일 생성

lftp -u ftp_user remote-server -p remote-server-port

vim ~/.lftprc
$ vim ~/.lftprc
set ftp:ssl-auth TLS
set ftp:ssl-force true
set ftp:ssl-protect-list yes
set ftp:ssl-protect-data yes
set ftp:ssl-protect-fxp yes
set ssl:verify-certificate no
lftp -u ftp_user ftps.sangchul.kr -p 990
$ lftp -u ftp_user ftps.sangchul.kr -p 990
비밀번호: 
lftp ftp_user@ftps.sangchul.kr:~> ls

3. 파일질라(FileZilla) 클라이언트 프로그램으로 접속

 

 

728x90