Discussion

Show HN: ssh chat.shazow.net

Hi HN,

I wrote a custom SSH server in Go, give it a try. It uses your terminal user and SSH keys to authenticate implicitly. Instead of getting a shell, you get an IRC-style chatroom with everyone else.

  $ ssh chat.shazow.net
If you're getting "Permission denied (publickey)", please use ssh-keygen to create a keypair. Instructions here: https://help.github.com/articles/generating-ssh-keys/

SSH is a really cool protocol; it's a lot like HTTP2. This is a demo of one thing you can do with it, but I plan to factor out the code into libraries that will let you build all kinds of experiences that can be used with any SSH client.

The source code is here: https://github.com/shazow/ssh-chat

(Should be reasonably stable and handle thousands of connections, but apologies in advance if it crashes: Try to reconnect in a minute.)

171 points shazow 12 years ago 45 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton