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
'리눅스' 카테고리의 다른 글
[kubernetes] 쿠버네티스 실습 환경(플레이그라운드) (0) | 2021.12.07 |
---|---|
[VPN] Linux에서 SoftEther VPN 클라이언트 설치 (0) | 2021.12.06 |
[리눅스] SSL 인증서 만료일 조회 (0) | 2021.12.05 |
[리눅스] 웹 프록시 자동 검색 프로토콜(Auto-Discovery Protocol) (0) | 2021.12.03 |
[리눅스] elasticsearch 클러스터 구성에서 인덱스 생성 (0) | 2021.12.02 |