C20::WIKI

SEOUL_still under construction‍
wiki:sw:linux:scp

목차

<!DOCTYPE markdown>

SCP

개요

SCP는 리눅스에서, ssh에 기반하여 원격으로 파일을 주고받을 수 있도록 하는 명령어다. ssh와 비슷한 명령어 구조를 가진다.

문법

파일/디렉토리를 보낼 때:

scp [-i cert] file1 file2 ... user@remote:path 
scp [-i cert] -r directory user@remote:path 
  • 파일/디렉토리를 받을 때
scp [-i cert] user@remote:"file1 file2 ..." localpath 
scp [-i cert] -r user@remote:directory localpath 


wiki/sw/linux/scp.txt · 마지막으로 수정됨: 2023/06/14 16:19 저자 clockoon