Raspberry Pi Remote Access Configuration
네오즈 · 2019-09-26 · 5
1 SSH( Secure Shell ) Remote Access
The most representative remote access protocol in Unix or Linux is Telnet. SSH is a protocol that addresses the security issues inherent in Telnet. To use remote access via SSH, enable "P2. SSH" in "5. interfacing option" of "raspi-config". This means that the SSH Server Daemon program will be executed at boot time. Therefore, remote access via SSH is possible through an SSH Client program. Of course, the Server (Raspberry Pi) and Client (PC, smartphone, tablet, etc.) must be connected to the same network, and access is made through SSH client software on the client device. In the case of Linux or Unix, you can access via the ssh command in the terminal as shown below.
② Host Name
- Enter the IP address of the Raspberry Pi
③ Open
* You can save and use the current SSH access environment using the Saved Sessions menu.
* You can change screen font-related settings in the Appearance settings under the Window item in the Category.
* You can save and use the current access environment using the Saved Sessions menu.
2 VNC( Virtual Network Computing ) GUI Remote Access
Raspbian-Stretch supports a Real VNC server. Therefore, GUI remote access is possible using a Real VNC client program from other devices.
* Raspberry Pi Configuration
To use GUI remote control via VNC, certain settings on the Raspberry Pi must be changed. The Raspberry Pi configuration required for this is to select "Yes" in response to the VNC Server activation question in the P3. VNC item under 5. Interfacing options of the raspi-config menu.
* Client Configuration
1. Open the page https://www.realvnc.com/en/connect/download/vnc/ in a web browser.
2. Select the operating system you are using and click "DOWNLOAD VNC VIEWER" to download "VNC VIEWER".
3. Execute the downloaded VNC VIEWER.
4. Enter the IP address of the Raspberry Pi for remote connection and press Enter.
5. In the popup window, enter "pi" for Username and "pi" for Password, then click the "OK" button.
3 Remote Development Environment Using "Notepad++"
"Notepad++" editor is a free source code editor for MS Windows that supports sftp (SSH Transfer Protocol).
1. Download ( https://notepad-plus-plus.org/repository/6.x/6.7.4/npp.6.7.4.Installer.exe ), install, and run
2. Development environment configuration using NppFTP Plugin
2-1 Click the "Show NppFTP Window" icon.
2-2 Click the "Setting" icon (gear-shaped icon) in the NppFTP Window, then select "Profile settings".
2-3 Click the "Add new" button in the "Profile settings" window.
2-4 In the "Adding profile" popup, enter a name for this connection and click the "OK" button.
2-5 After filling in the Profile details, click the "Close" button.
Hostname: IP address of the Raspberry Pi
Connection type: SFTP
Username: pi
Password: Raspberry Pi login password
Initial remote directory: /home/pi
2-6 Click the "(Dis)Connect" icon in the NppFTP Window, then select the profile you added.
2-7 Click the "Yes (Y)" button in the "SFTP Authentication" popup.
5
댓글 0개
등록된 댓글이 없습니다.