[Help Needed] Webtty vs SSH for IOT Nodes connected through a CG-NAT
sutyum opened this issue · comments
Satyam Tiwary commented
Background
We are currently using a Reverse Port Forwarding setup. An SSH server is hosted on a cloud instance. The IOT node uses a 4G Cellular Grade NAT to connect to the internet.
This setup allows us to ssh into our IOT node without a public IP for each node.
Advantages
Webtty appears to be an attractive alternative to our current approach:
- No need to host and maintain a SSH server
- No need to create ssh keys and pass them around to SSH server for each IOT node
- Use a web interface to connect to IOT devices -> Easier for operations engineers
- Create short lived connections to IOT nodes with Connection keys that expire after a certain duration and close the Webrtc connection
Questions
- Is webrtc a reliable method to access an IOT node for maintenance purposes, a replacement for SSH?
- Is the use of webrtc to access shell on a remote IOT node secure?
- Is this a recommended use case for webtty?
Thanks for making this library open source!