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
- 알고리즘
- 하둡
- Amazon
- Data Structure
- 리눅스
- sort
- 자바
- rhcsa
- big data
- 레드햇
- 재귀
- linux
- Redshift
- algorithm
- 아마존
- java
- AWS
- storage
- redhat
- 자료구조
- 도커
- data
- 스토리지
- hadoop
- 설치
- Spring
- recursive
- docker
- 스프링
- 빅데이터
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 |