📂
my database
  • Introduction
  • Home setup
    • Raspberry
      • OS Installation
      • Enable SSH and first access
      • SSH configuration
      • Change default credentials
      • Home DNS
      • WiFi USB
      • Live cam
      • ESP32
      • AD/DA
      • Humidity sensors
    • Remote access
      • ssh
      • Turn on/off remote computer
      • Dynamic DNS
      • Remote ssh
      • Home VPN
  • GNU/Linux commands
    • locale
    • crontab
    • chmod
    • router
  • Future sections
    • Topics
  • Research
    • Introduction to Sustainability
Powered by GitBook
On this page

Was this helpful?

  1. Home setup
  2. Remote access

Remote ssh

PreviousDynamic DNSNextHome VPN

Last updated 4 years ago

Was this helpful?

To remotely access your Raspberry Pi using SSH, we only need to add a rule to your router so that it can route the incoming ssh traffic to your Raspberry. In particular, it will route incoming traffic at port 22 (default SSH port) to the SSH port of your Raspberry Pi.

Before proceeding, make sure you have accordingly and .

Go to your router portal (e.g. 192.168.1.1) and enter your router admin credentials (they might be in the back of your router; otherwise reach out to your manufacturer / ISP). Got to the NAT section and add the rule.

Time to test your connection!

$ ssh pi@lucas-example.2mydns.net
configured your Raspberry
enabled Dynamic DNS