WIKI

SEOUL‍
wiki:sw:linux:scp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sw:linux:scp [2023/06/15 01:19] – 제거됨 - 바깥 편집 (Unknown date) 127.0.0.1wiki:sw:linux:scp [2025/11/06 01:12] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<!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 
 +```
 +---- struct data ----
 +pageinfo.status      : 
 +----