5 ms·
Chat over SSH
- ominous 12y agowoah this is really neat! Lags a bit as you type, is that to be expected?
- blfr 12y agoDepends how far away from the server you are. Anything over 100ms will lag a little (or a lot). So yes for most of the world.
- blfr 12y agoSee also "Why aren’t we using SSH for everything?" by the same author https://news.ycombinator.com/item?id=8828543 https://news.ycombinator.com/item?id=8828543
- nine_k 12y agoSupposedly this is a chat server to run as a login shell for users ssh-ing to a particular box. Apparently, unlike a e.g. Jabber server, your whole interaction, including the typing of your messages, happens in the remote terminal session. Probably this is perfectly fine for chatting inside your LAN, but probably not best if your connectivity is limited or just has a high latency (imagine a ping from Iceland to New Zealand). It seems that long-term history is not supported yet. Still this thing must be easier to set up than IRC over TLS.
- aroch 12y agoThis was a ShowHN a few weeks ago: https://news.ycombinator.com/item?id=8743374 https://news.ycombinator.com/item?id=8743374
- robinduckett 12y agoFun but laggy
- falcolas 12y agoThe only change request I'd suggest is using IRC as the backend for that chat (i.e. make the ssh chat daemon act as an IRC client to a local IRC instance instead of using the Server.Broadcast mechanism) - it would give a big boost in functionality with not a lot of additional effort.
- Gurkenmaster 12y agoMost irc channels are public. It's not that useful unless the channel or maybe the entire server is ssh and invite only.
- irremediable 12y agoWasn't the suggestion to run an IRC server on the server you're SSHing into? In which case, surely it'd only be accessible from that machine...
- falcolas 12y agoYup, this. The first obvious benefit is a well tested & implemented chat engine with rooms, and the ability to add existing chat bots.
- cryowaffle 12y agoNice, although everyone is just trying it out willy nilly and exposing the usernames on their computer
- jamiesonbecker 12y agoTrue, and information leakage (ie pubkey) is always something, but usernames are not cryptographically secure anyway.
- joosters 12y agoThis makes me nostalgic for the days when I used commandline programs like ytalk to chat with friends...
- publicfig 12y agoThis exposes your public key through /whois <username>. In order to protect that along with hiding your system's default username, join with "ssh -o PubkeyAuthentication=no <username>@chat.shazow.net"
- sloppiiiii 12y agoWhy does that matter if it is a public key?
- falcolas 12y agoTheoretically, for DSA and RSA keys under 1024 bytes, they can be brute forced. If you have one of these keys, you won't want to expose them. It's security through obscurity, but obscurity in addition to real security offers no real harm.
- rakoo 12y agoBetter yet, choose your public key depending on the server you're connecting to: https://wiki.archlinux.org/index.php/SSH_keys#Managing_multiple_keys https://wiki.archlinux.org/index.php/SSH_keys#Managing_multi...