Show HN: I made Devzat – It's like Discord but in the terminal, over SSH
391 pointsRun `ssh devzat.hackclub.com` to try it out! The repo is here: https://github.com/quackduck/devzat (golang).
It has markdown and emoji support, DMs, channels, and it can show images too. You can send code, and it gets syntax highlighted (you can change the theme). You can ping people like so: @user and it sends them a \a, which should play an audible sound if the terminal allows it. There's inbuilt games and rainbow names and a lot of other small things I don't remember right now.
You might find the auth system interesting: it's based on a hash of ssh pubkey (bans use that and a hash of IP, so it isn't so easy to get around a ban)
Also an interesting issue: bots that go around trying to brute force ssh into random IPs with common usernames. My current solution is banning if rapid successive joins are detected.
Comments (147) 37 threads
Earlier comments[0]: https://news.ycombinator.com/item?id=8828543
[1]: https://news.ycombinator.com/item?id=8743374
[2]: https://news.ycombinator.com/item?id=15829206
However the actual chat part of it is very barebones with a simplistic JSON-based protocol and a simplistic IRC-like interface - quite unlike devzat.
I wonder how hard it would be to untangle the authentication and transport bits from devzat and plug in our own proprietary auth/transport.
Or a Zulip server.
Matrix is overkill if you're never going to federate it.
Continue this thread — 1 reply
Host * ForwardAgent yes
The scenario you talk about is certainly possible, especially since OpenSSH does not require a "tap" for each authorization once the agent is unlocked. (Side note: this is one thing hardware u2f keys absolutely got correct).
If one needed to temporarily use the old key for a site until it is changed to a site-unique key, then
Then make a note to change the key on that site and generate a site unique key.All comments shown.
Couldn't load more comments. Check your connection and try again.