Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated script for IoT devices reverse SSH tunnels #1

Open
siliconhippy opened this issue Mar 10, 2019 · 1 comment
Open

Automated script for IoT devices reverse SSH tunnels #1

siliconhippy opened this issue Mar 10, 2019 · 1 comment

Comments

@siliconhippy
Copy link

siliconhippy commented Mar 10, 2019

Nice explanation !

Now how would you configure to manage multiple Linux boxes ( NATed servers) from a single client running in a VPS via secure (SSH enabled) VNC?

Or which is the same, write an automated bash script to run automated reverse SSH script on each IoT device so the VPS remote server uniquely identifies each IoT device? Perhaps set up a port number pool on the remote server, and assign a port # to each incoming tunnel request ?

By that I mean multiple Linux boxes behind firewalls that can connect to a public IP server ( VPS.)

Can the keygen be done on the remote server, and the public key copied to each IoT device at install time, for simplicity and automation with no password?

I ask because most IoT devices become inaccessible after first “factory” configuration including say some bash scripts and VNC/reverse SSH install on each of these devices. Then we need to make sure these devices are accessible over the Internet remotely, but we should expect minimal intervention by IoT device users except boot and reboot and maybe typing in a username/ password at first boot setup.

What kind of simple script can we use on the IoT devices and remote server?

@bhupiister
Copy link

Did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants