Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 레드햇
- Data Structure
- 아마존
- sort
- AWS
- algorithm
- Redshift
- Spring
- java
- 리눅스
- 스프링
- 도커
- 자바
- 알고리즘
- 재귀
- linux
- recursive
- 자료구조
- rhcsa
- 스토리지
- 빅데이터
- storage
- 설치
- 하둡
- big data
- hadoop
- data
- redhat
- docker
- Amazon
Archives
- Today
- Total
Developer MJ
[Command] SCP 본문
Remote server에서 Local로 디렉토리 복사
Directory / File Transfer from Server to Local
- Password
sshpass -p "password" scp -o StrictHostKeyChecking=no -r "username"@"host":"directoryPath"(1) "directoryPath"(2)
sshpass -f "passwordFilePath" scp -o StrictHostKeyChecking=no -r "username"@"host":"directoryPath"(1) "directoryPath"(2)
(1) : Remote Server Path
(2) : Local Path
sshpass Install
-ubuntu
apt install sshpass
-centos / fedora
yum install sshpass
- Private Key
scp -i "~/.ssh/id_rsa" -o StrictHostKeyChecking=no -r "username"@"host":"directoryPath" "directoryPath"
'Linux' 카테고리의 다른 글
[Linux] Install Mongodb (0) | 2017.09.14 |
---|---|
[RHCSA] 로컬 사용자 및 그룹 관리 (0) | 2017.07.24 |
[RHCSA] 텍스트 파일 생성, 보기 및 편집 (0) | 2017.07.24 |
[RHCSA] 도움말 command (0) | 2017.07.24 |
[RHCSA] Command Line Accessing & Managing Files (0) | 2017.07.20 |