You can use Ngrok to SSH into your Raspberry Pi from anywhere in the world, but signing up for that service alone is not enough. You need to code your device to work with it.
This video, part 2 of 2, walks through the code I created to do so (linked below).
Part 1 of 2 (also linked below) explains what is happening.
🔔 Subscribe for more on "Everything IoT" — hardware, firmware, cloud, tools, and projects 🔔
🛠️ What You'll Learn in this video:
The Ngrok API
How to drive the connection with MQTT
How to parse the Ngrok URL into an actual SSH string
💻 Code Examples:
https://github.com/OhioIoT/Tunnel
🎬 Video Links:
Prequel to this video: • Remote Access to Raspberry Pi Using Ngrok ...
⏱️ Timestamps:
0:00 - Intro
0:26 - Getting Started
1:13 - Signing up for Ngrok
1:59 - Creating `demo.js` to Confirm Ngrok is Working
4:12 - Adding a Parser
5:38 - Writing the Code for the RPi
9:19 - Writing the Code to Talk to the RPi
11:07 - RPi Installations
11:38 - Installing and Running This Code
#ngrok #remote_ssh #rpi #ssh #InternetofThings #iot #nodejs #pm2 #EmbeddedSystems #OhioIoT