News for hackers. Stuff that matters.
Re:Chat over SSH by blfr on Wednesday January 07, 2015 @10:43AM (#8851100)
See also "Why aren’t we using SSH for everything?" by the same author https://news.ycombinator.com/item?id=8828543
Re:Chat over SSH by aroch on Wednesday January 07, 2015 @10:48AM (#8851131)
This was a ShowHN a few weeks ago: https://news.ycombinator.com/item?id=8743374
Re:Chat over SSH by nine_k on Wednesday January 07, 2015 @10:45AM (#8851111)
Supposedly 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.

Re:Chat over SSH by hrjet on Wednesday January 07, 2015 @10:51AM (#8851159)
I wonder if latency can be improved by building upon Mosh[1], rather than SSH.

  [1]: https://mosh.mit.edu/
Re:Chat over SSH by aroch on Wednesday January 07, 2015 @11:07AM (#8851284)
Mosh doesn't really impact real latency, just perceived latency by buffering the screen (and ironically, is slower on good connections than regular ssh).
Re:Chat over SSH by falcolas on Wednesday January 07, 2015 @10:55AM (#8851192)
The 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.
Re:Chat over SSH by Gurkenmaster on Wednesday January 07, 2015 @11:04AM (#8851266)
Most irc channels are public. It's not that useful unless the channel or maybe the entire server is ssh and invite only.
Re:Chat over SSH by irremediable on Wednesday January 07, 2015 @11:10AM (#8851303)
Wasn'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...
Re:Chat over SSH by falcolas on Wednesday January 07, 2015 @01:38PM (#8852313)
Yup, this. The first obvious benefit is a well tested & implemented chat engine with rooms, and the ability to add existing chat bots.
Re:Chat over SSH by publicfig on Wednesday January 07, 2015 @11:36AM (#8851466)
This 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"
Re:Chat over SSH by rakoo on Thursday January 08, 2015 @08:10AM (#8856188)
Better yet, choose your public key depending on the server you're connecting to:

https://wiki.archlinux.org/index.php/SSH_keys#Managing_multi...

Re:Chat over SSH by sloppiiiii on Wednesday January 07, 2015 @12:34PM (#8851846)
Why does that matter if it is a public key?
Re:Chat over SSH by falcolas on Wednesday January 07, 2015 @01:41PM (#8852339)
Theoretically, 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.

Re:Chat over SSH by joosters on Wednesday January 07, 2015 @11:15AM (#8851336)
This makes me nostalgic for the days when I used commandline programs like ytalk to chat with friends...
Re:Chat over SSH by cryowaffle on Wednesday January 07, 2015 @10:57AM (#8851207)
Nice, although everyone is just trying it out willy nilly and exposing the usernames on their computer
Re:Chat over SSH by jamiesonbecker on Wednesday January 07, 2015 @02:09PM (#8852548)
True, and information leakage (ie pubkey) is always something, but usernames are not cryptographically secure anyway.
Re:Chat over SSH by robinduckett on Wednesday January 07, 2015 @10:51AM (#8851155)
Fun but laggy
Re:Chat over SSH by ominous on Wednesday January 07, 2015 @10:43AM (#8851093)
woah this is really neat!

Lags a bit as you type, is that to be expected?

Re:Chat over SSH by blfr on Wednesday January 07, 2015 @10:44AM (#8851105)
Depends 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.