대화형 작업이 2023년 6월 13일에 지원 중단되었습니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
Raspberry Pi 원격으로 제어
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기기에 모니터, 키보드, 마우스가 연결되어 있지 않으면
여전히 SSH를 통해 원격으로 기기를 제어할 수 있습니다.
이더넷/Wi-Fi 옵션
- 헤드리스 Raspberry Pi에서 SSH 사용 설정
('헤드리스 Raspberry Pi에서 SSH 사용 설정' 섹션 참조)
- 이더넷 케이블을 꽂습니다.
- Raspberry Pi의 전원을 켭니다.
- Raspberry Pi IP 찾기
주소를 입력합니다.
- 이더넷을 사용하려면 다음 섹션으로 건너뛰세요.
- Wi-Fi를 사용하려면 먼저 USB-TTL을 통해 연결하세요.
그런 다음 아래를 실행합니다.
USB-TTL 옵션
- USB-TTL을 사용하여 콘솔 액세스 권한 받기
케이블에 연결합니다.
- 다음 명령어를 사용하여 이더넷 케이블을 연결하거나 Wi-Fi 네트워크에 연결합니다.
행
SSH를 통해 Raspberry Pi에 연결
Raspberry Pi에서 명령어를 실행하려면 터미널을 열어야 합니다.
SSH 연결을 사용합니다. SSH 연결을 사용해야 합니다.
모니터, 키보드, 마우스가 연결되어 있지 않은 경우 개발 머신
Raspberry Pi에 보냅니다.
SSH가 사용 설정되어 있는지 확인합니다.
실행할 수 있습니다
ssh pi@raspberry-pi-ip-address
password: password-for-raspberry-pi
예를 들면 다음과 같습니다.
$ ssh pi@192.168.1.101
password: raspberry
Raspbian에서 pi
사용자의 기본 비밀번호는 raspberry
입니다. 해야 할 일
이 비밀번호를 즉시 변경합니다 (Pi의 터미널에서 passwd
실행).
이 단계에서 설정한 터미널 또는 SSH 세션을 사용하여
명령어에 대해 자세히 알아보세요. 두 가지 모두의 작업 디렉터리는
/home/pi
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis guide explains how to remotely control a device, specifically a Raspberry Pi, without a monitor, keyboard, or mouse using SSH.\u003c/p\u003e\n"],["\u003cp\u003eTwo main options are provided for establishing the connection: through Ethernet/Wi-Fi, or via a USB-TTL cable.\u003c/p\u003e\n"],["\u003cp\u003eThe Ethernet/Wi-Fi option involves enabling SSH, connecting to the network, finding the device's IP address, and then connecting via SSH.\u003c/p\u003e\n"],["\u003cp\u003eThe USB-TTL option requires a USB-TTL cable for console access and then network configuration similar to the Ethernet/Wi-Fi method.\u003c/p\u003e\n"],["\u003cp\u003eOnce connected via SSH, users can run commands on the Raspberry Pi remotely from their development machine.\u003c/p\u003e\n"]]],[],null,["# Control a Raspberry Pi Remotely\n\nIf you don't have a monitor, keyboard, and mouse connected to the device, you\ncan still control the device remotely via SSH.\n\n- [Ethernet/Wi-Fi option](#headless-network-access)\n- [USB TTL option](#usb-ttl-network-access)\n\nEthernet/Wi-Fi option\n---------------------\n\n1. [Enable SSH on a headless Raspberry Pi](https://www.raspberrypi.org/documentation/remote-access/ssh/) (see section \"Enable SSH on a Headless Raspberry Pi\").\n2. Plug in an ethernet cable.\n3. Power on the Raspberry Pi.\n4. [Find the Raspberry Pi IP\n address](https://www.raspberrypi.org/documentation/remote-access/ip-address.md).\n5. If you prefer to use ethernet, skip to the next [section](#ssh).\n6. If you prefer to use Wi-Fi, first connect via [USB-TTL](#usb-ttl-network-access). Then:\n - [Connect to a Wi-Fi network using the command\n line](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md).\n - [Find the Raspberry Pi IP address for the Wi-Fi\n connection](https://www.raspberrypi.org/documentation/remote-access/ip-address.md).\n - Re-connect via [SSH](#ssh) using this Wi-Fi IP address.\n\nUSB-TTL option\n--------------\n\n1. [Get console access using a USB-TTL\n cable](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/overview).\n2. Plug in an ethernet cable or [connect to a Wi-Fi network using the command\n line](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md).\n\nConnect to the Raspberry Pi via SSH\n-----------------------------------\n\nTo run commands on the Raspberry Pi, you need to open the [terminal](https://www.raspberrypi.org/documentation/usage/terminal/)\non the device or use an SSH connection. You must use an SSH connection from your\ndevelopment machine if you do not have a monitor, keyboard, and mouse connected\nto the Raspberry Pi.\n\nMake sure [SSH is enabled](https://www.raspberrypi.org/documentation/remote-access/ssh/README.md)\non the Raspberry Pi. \n\n```\nssh pi@raspberry-pi-ip-address\n``` \n\n```\npassword: password-for-raspberry-pi\n```\n\nFor example: \n\n```\n$ ssh pi@192.168.1.101\npassword: raspberry\n```\n\nOn Raspbian, the default password for the `pi` user is `raspberry`. You should\nchange this password immediately (run `passwd` in a terminal on the Pi).\n\nUse the terminal or the SSH session you set up in this step to enter the\ncommands in the rest of this guide. The working directory for both is\n`/home/pi`."]]