Remote SSH without IP address

I have an Nvidia Jetson Nano with JetPack 4.4 (based on Ubuntu 18), and I want a way to remotely access it without knowing its IP.

The device will be connected to the internet somewhere without screen, keyboard or mouse. I want to be able to remotely connect to it via ssh where I cannot assign it a static IP.

I tried Tmate but I need to run tmate process and get the address which changes everytime. Is there a way to make tmate to always be on (cronjob? daemon?) and always have the same address/key? Or any other solution/app for the job?

1 answer

  • answered 2020-07-29 17:29 RobertPro

    To answer your question, it is not possible, you must know the IP and must be accessible from the internet.

    I would recommend you to use or create a VPN, basically is like your server being on the same LAN as your cumputer which means you will be able to ssh myuser@nvidiajetson-ip and it will work.

    In case you have a VPS and you want to create your VPN, you can try OpenVPN + Docker, this is what I use

    Here is the tutorial: How To Run OpenVPN in a Docker Container on Ubuntu 14.04