본문 바로가기

컴퓨터

scp 명령어

728x90
반응형

서버에서 서버로 데이터를 옮길 때 사용할 수 있음.

명령어는 아래와 같음.

옮기기 전에 데이터가 다운로드될 디렉토리 권한은 777로 변경해줘야함.

 

scp * 아이디@서버주소:/path/to/directory

 

The authenticity of host '서버 (182.xxx.xx.xx)' can't be established.
ECDSA key fingerprint is SHA256:~~~~~~.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '서버,182.xxx.xx.xx' (ECDSA) to the list of known hosts.
아이디@서버's password:

옮겨질 서버의 아이디에 해당하는 비밀번호를 입력하면 데이터 이동이 시작된다.

728x90
반응형

'컴퓨터' 카테고리의 다른 글

illustrator CS2 다운로드 경로  (0) 2023.11.06
qsub에서 queue 지정하는 방법  (0) 2023.09.18
git push하는 법  (0) 2023.09.05
freebayes dockerfile  (0) 2023.02.21
docker에 원하는 경로 마운트 (mount)하기  (0) 2022.11.01