Scp

From 탱이의 잡동사니
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

linux 명령어 scp 사용법 정리.

scp 는 SSH 를 통해서 파일을 복사/전달 할 수 있도록 해주는 명령어이다.

Basic

기본적으로 scp 는 다음과 같은 옵션으로 작동한다.

$ scp <옵션> <원본 경로 및 파일> <복사 받을 곳 경로 및 파일>

Options

-P

포트 번호를 지정한다.

Example

$ scp ./sample.pcap root@192.168.200.10:/tmp

See also

References

<references />