[scp] 서버 간 데이터 이동
·
Linux
scp 명령어를 통한 데이터 전송(Local --> Remote) 1) Remote terminal에서 ssh로 Local에 접속 # in Remote terminal ssh [local] 2) scp 명령어를 통해 Local에서 데이터 받아오기 # in Remote terminal((ssh)login local) ## 단일 파일을 원격지로 보낼 때 (local): scp [파일명] [Remote_id]@[Remote_ip]:[받는 위치] ## 복수의 파일을 원격지로 보낼 때 (local): scp [파일명 1] [파일명 2] [Remote_id]@[Remote_ip]:[받는 위치] ## 디렉토리를 원격지로 보낼 때 (local): scp [옵션] [디렉토리 이름] [Remote_id]@[Remote_i..