All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Technical Challenge: Implementing SSH Access for Multiple VMs on Shared IP Infrastructure

By

apitman

2mo ago· 3 min readenInsight

Summary

The article discusses the technical challenge of implementing SSH access for multiple VMs on a shared IP address infrastructure at exe.dev. Since providing each VM with its own IPv4 address would be cost-prohibitive, and IPv6-only solutions would exclude some users, the company needed to find a way to route SSH connections to the correct VM without using the Host header (which SSH doesn't support). The article explores the technical approach to sharing IPs between VMs while maintaining SSH functionality.

Key quotes

· 3 pulled
We have a challenge with ssh. Every VM has a standard URL that we use for both HTTPS and SSH, e.g. undefined-behavior.exe.xyz.
We cannot issue an IPv4 address to each machine without blowing out the cost of the subscription. We cannot use IPv6-only as that means some of
This is very straightforward to implement if you give each machine its own IP address, but exe.dev gives you many VMs on a flat rate subscription.
Snippet from the RSS feed
A dive into how we share IPs between VMs while making SSH work.

You might also wanna read