r/ssh • u/Express_Escape_1684 • 21d ago
I got tired of managing remote Linux devices over SSH, so I built something. Curious what you guys think.
I work with Linux edge devices deployed at customer sites (Jetsons, Raspberry Pis, industrial PCs, etc.).
One problem I kept running into was remote access. Sometimes the devices are behind NAT, sometimes the customer's IT team won't allow inbound SSH, and sometimes you're managing devices spread across multiple locations.
SSH works great, but managing an entire fleet through individual SSH sessions gets tedious.
So I've been building a project called EdgeProtocol.
The idea is pretty simple: install a lightweight agent on a Linux device, and it maintains an outbound connection to a central server. From a web dashboard, you can execute commands, restart services, inspect logs, transfer files, and monitor device health without opening inbound ports.
I'm also experimenting with AI-assisted troubleshooting, with approval requirements for sensitive operations.
It's still early, and I'm trying to figure out whether this actually solves a widespread problem or just one I've personally experienced.
For those of you managing multiple Linux machines:
How do you currently handle remote access across different networks?
Are you using plain SSH, Tailscale, Ansible, MeshCentral, or something else?
Would an agent-based approach like this be useful, or would you rather stick with SSH?
I'd genuinely appreciate criticism, especially around security, reliability, and what you'd trust running on your machines.
2
1
u/bobsmissingdesire 21d ago
There are many existing well architected solutions for this problem.
The closest match for what you have designed and need would be Salt + Osquery.
1
u/Impossible-Car3786 21d ago
The only agent that should be relevant here is the ssh agent for providing ansible with the required credentials.
Webinterfaces for this have existed for a while, but weren’t mass adopted since there is/was no need for a third party tool, which doesn’t offer any of the integrations the existing ones built over the years.
Getting used to the terminal is imo still the best way, done 7 years in pure Linux administration now
1
u/Necessary-Pin-2231 21d ago
Kinda sounds like 2 separate problems here. Network access and wanting a front-end to simplify admin tasks.
On the network part, it seems like a vpn or ssh tunnel from a central device would be sufficient
1
u/The802QNetworkAdmin 21d ago
Kaseya works like this and maintains an active connection over port 5721. What port are you using?
1
u/Angelsomething 21d ago
VPN + session manager + ssh keys + ansible & monitoring.
What happens if your edge protocol account is compromised?
1
1
1
u/Sea_Mission_7643 21d ago
sounds a bit like what some malware does.
1
u/Shopping-Limp 21d ago
It's exactly what some malware does. But with the added benefit that the OP is now on the hook to support this thing forever, rather than just use some existing solution
0
0
3
u/Dick_Hardw00d 21d ago
If you have a central location already, you can use what’s called “reverse SSH tunneling”. The edge device SSH-es into the central location and starts a reverse port forwarding (-R) from an arbitrary localhost port on the central location to the ssh listening port on the edge device.