Raspberry Pi_Kor_18.4.2 SCP 프로그램을 이용한 원격 드라이브 접속

18.4.2 SCP 프로그램을 이용한 원격 드라이브 접속

SCP(secure copy)는 SSH를 통하여 SFTP나 SCP protocol를 사용하여 원격에 있는 컴퓨터와 파일을 주고 받는 프로그램을 의미한다.

18.4.2.1 SSH server 프로그램의 설치/활성화

Raspberry Pi_Kor_18.1.1 원격 시스템 접속

18.1 원격 접속(remote connection) 개요

원격에 있는 Raspberry Pi 시스템에 연결하여 작업을 하는 방법은 여러 가지가 있다. 원격 시스템에게 필요한 명령을 지시할 수도 있고, 아니면 단순히 원격 시스템이 가지고 있는 자료만 사용할 수도 있다. 이러한 연결방식에 따라 크게 “원격 시스템 접속”과 “원격 드라이브 접속”로 구분해 볼 수 있다.

18.1.1 원격 시스템 접속

먼저 가장 강력한 접속방식으로 원격에 있는 Raspberry Pi 시스템에 접속하여 해당 시스템에서 제공하는 모든 명령을 직접 실행할 수 있는 “원격 시스템 연결” 방식이 있다. 이 방식을 사용하면 원격에 있는 시스템에 logon하여 마치 local에 있는 시스템처럼 원격 시스템을 원하는 대로 다룰 수가 있다.

Raspberry Pi_Eng_18.4.2 Remote Drive Connection Using SCP Program

18.4.2 Remote Drive Connection Using SCP Program

SCP (Secure Copy) is a program that sends and receives files to and from a remote computer using SFTP or SCP protocol through SSH.

18.4.2.1 Installing/Enabling SSH server Program

This program basically assumes that SSH server of the remote computer is running. To do this, you must first enable the SSH server in the Raspberry Pi system. For details, see the description of [9.9.1 Enabling SSH].