Log in to raspberry PI over SSH from the Internet

Raspberry Pi can only be accessed on a LAN. How can I SSH in to Raspberry Pi from a public network?

This article walks you through the steps to implement using Holer.

1. Preparation

1.1 Install and start the Raspberry PI system

Raspberry PI is an ARM-based embedded Linux system with a default SSHD port of 22.

2. Implementation steps

2.1 Download and Decompress the Holer Software package

Holer software package: Holer-linux-arm.tar.gz

Holer supports multiple ARM versions. After decompressing the software package, select the Holer program that matches your ARM version and upload it to the system.

2.2 Obtaining Holer Access Key Information

Apply for an exclusive Holer Access Key on the Holer website or use access Key information available on the open source community.

For example, the Holer information obtained in the application is as follows:

--------------------------------------------- Holer Client : [email protected] Access Key : 8866daebe02846t88s166733595fff5d --------------------------------------------- Internet Address : Holer.org: 65014 Local Address: 127.0.0.1:22 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --Copy the code

2.3 Starting the Holer Service

Raspberry Pi platform:

Execute the command: nohup. / holer – Linux – 8866 daebe02846t88s166733595fff5d armxx – k

2.4 Accessing mapped Public IP Addresses

Enter this parameter on the SSH client

Host name: Holer.org Port number: 65014

Alternatively, run the SSH [email protected] -p 65014 command

This allows you to SSH into raspberry PI from the public network.

2.5 Problem consultation and help

If a problem occurs during the use of holer, you can view the log information printed on the Holer console first. In this way, you can easily locate the specific cause of the problem.

For more examples of how to use Holer, refer to the technical documentation related to Holer.