본문 바로가기

OS/Linux

[AWS] SCP로 EC2에서 파일/폴더 가져오기

1. SCP란?

secure copy; SCP



2. 명령어

 1) 샘플명령어(EC2에src_directory 폴더를 dst_directory로 복사한다.)

scp -i {sample.pem} -r {user_id}@{remote_ip}:{src_directory} {dst_directory}


 2) 팁

 - pem파일은 600 권한을 잘 줘야한다.

chmod 600 ./sample.pem

 - 에러메시지



'OS > Linux' 카테고리의 다른 글

History 명령어 사용하기.  (0) 2018.07.05
Install redis on Centos 7  (0) 2017.04.18
Maven 내부 Repo 만들기(Nexus install)  (0) 2017.02.17
ImageMagicK 설치  (0) 2016.12.20
Jdk 8 Install on AWS EC2  (0) 2016.11.17