Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, you need to abolish SSH. It's an incredibly limiting protocol that does not support modern computing needs. Hacks and add-ons solve some but never all of its many problems.

Wire-level network protocols like Wireguard are somewhat useful, but largely a large step away from the modern best practices. We need more Zero Trust, Federated Identity, Fine-grained Access Control, and Least Privilege. Those solutions exist, but they are almost always for-pay, because SSH is always used as the default option, and so no more effort is put into better security practices.

And even without putting any real effort into a better protocol, you can just implement on top of HTTPS. Look at HTTPS+Git, compared to SSH+Git. First and foremost, this RSA key leak bullshit just wouldn't happen. Even if the TLS key on the server got leaked (and why the hell would it?! it gets generated automatically by Let's Encrypt), revoking and issuing a new one happens automatically for the client with no fraught extra options, and nobody's client configuration by default disables validating the certs! Then there's the fact that you can use a variety of AuthN+Z options, it goes over standard ports, and most providers give more fine-grained access control for it.

Nerds love SSH. But it is literally worse than the alternatives, and is in practice often not used in a secure manner. Kill your darlings and use something demonstrably better.



> you need to abolish SSH. It's an incredibly limiting protocol that does not support modern computing needs

Yes! Please invent something else, and leave SSH alone.


I meant the protocol, not the program. A secure shell is still useful, but the old protocol is like a unix neckbeard that doesn't wanna learn containers. (And while we're on the subject, SSHD should support an HTTPS port and either serve a javascript client or accept websocket connections, because it is 2023 and that's what everyone wants anyway)


You may need to do some more research. SSHD can run on an HTTP port, but why bundle a web server and additional protocols into something? There are web based ssh clients - https://github.com/billchurch/webssh2 - simple google search.

Plenty of "neckbeards" understand containers and probably understand the underlying technologies (cgroups, etc) as well as comparable (or historical) approaches (jails, zones, etc) better than most.

But, because something doesn't cater to your whims, must complicate things that actually work.


Unix has had containers before Linux ever had them, and certainly before the cloud hipsters embraced docker.


> Then there's the fact that you can use a variety of AuthN+Z options, it goes over standard ports

What's a standard port? AFAIK 22 is a standard port. https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbe...

Are you saying that everything should only go over 443 (=HTTPS)?


SSH is used for a lot more than just git. And for those usecases it's really good. Federated auth is also possible if needed, we use it at work.

SSHv1 is indeed an outdated protocol but nobody uses it anymore.


> worse than the alternatives

What alternative is there to SSH? You want to go back to telnet?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: