News for hackers. Stuff that matters.
Re:Quicssh: SSH over QUIC by nnntriplesec on Thursday April 27, 2023 @11:49AM (#35729892)
Would this make ssh more robust against intermittent connectivity? like https://mosh.org/

without needing to run mosh on the server

Re:Quicssh: SSH over QUIC by LinuxBender on Thursday April 27, 2023 @12:42PM (#35730794)
Probably only if this implements a similar roaming concept as mosh by using a nonce or something along that line vs. ssh session keys that are mapped to an IP. Mosh was designed by MIT folks not just for high latency but also mobile networks which can change IP and lose connectivity frequently. Perhaps the code author is here on HN?
Re:Quicssh: SSH over QUIC by Avamander on Thursday April 27, 2023 @01:20PM (#35731447)
It doesn't have to be this piece of software implementing MP-UDP for roaming to work though. Nevertheless I doubt it has such functionality right now.
Re:Quicssh: SSH over QUIC by loxias on Thursday April 27, 2023 @02:00PM (#35732117)
Mosh was designed for a great number of things, including what you mentioned.

To me, mosh is "careful and impressively pedantically correct UTF-8 terminal emulator" + "careful and impressively pedantically correct state synchronization protocol". :)

Re:Quicssh: SSH over QUIC by FrancoisBosun on Thursday April 27, 2023 @11:57AM (#35730001)
Mosh has latency-hiding mechanisms. I used mosh for a bit on while riding a bus. Latency-hiding helped quite a bit to keep the UI responsive.
Re:Quicssh: SSH over QUIC by cl3misch on Thursday April 27, 2023 @04:51PM (#35734388)
Do you mean UI as in X forwarding? I thought this wasn't possible, which kept me from using mosh so far.
Re:Quicssh: SSH over QUIC by tempay on Thursday April 27, 2023 @05:54PM (#35735084)
They mean UI as in for command lines, like vim/emacs/shells
Re:Quicssh: SSH over QUIC by egberts1 on Friday April 28, 2023 @01:30PM (#35744441)
TUI, better?

UI is just plain ol' things for user to interact with computer.

Re:Quicssh: SSH over QUIC by NoZebra120vClip on Thursday April 27, 2023 @09:38PM (#35736603)
The "G" in "GUI" stands for "graphical". Some people use "TUI" to mean "Terminal User Interface". It therefore follows that someone using merely "UI" has not specified the type of interface.
Re:Quicssh: SSH over QUIC by ori_b on Thursday April 27, 2023 @12:07PM (#35730204)
Mosh is closer to tmux than to ssh.
Re:Quicssh: SSH over QUIC by talideon on Thursday April 27, 2023 @12:51PM (#35730953)
Any similarity with tmux is purely because it's connectionless. It's mostly certainly more like ssh than it is like tmux. Both are remote shell protocols, while tmux is simply a terminal multiplexer.
Re:Quicssh: SSH over QUIC by hackernudes on Thursday April 27, 2023 @01:30PM (#35731609)
Mosh is a terminal emulator itself and sends the diff of the output from the server to the client. Ssh just passed the terminal data through. I think that is why mosh is like tmux, because tmux is also a terminal emulator.
Re:Quicssh: SSH over QUIC by loxias on Thursday April 27, 2023 @02:15PM (#35732331)
Mosh is not at all like ssh, tries hard to avoid duplicating ssh functionality, and this is by design.

If it were like ssh the authors would have had to then handle security/authentication and all that jazz perfectly. It was written to "stand on the shoulders" of ssh, except handle terminal emulation and UTF-8 correctly. By using ssh, you don't have to trust "some new thing" as long as you trust ssh.

It's not even a shell protocol if you think about it!

Mosh bidirectionally synchronizes the state between the terminal window on the client and the virtual terminal on the server. It runs at a frame rate, which results in not filling intermediate network queues, which is where the low latency comes from. :)

Re:Quicssh: SSH over QUIC by talideon on Thursday April 27, 2023 @08:20PM (#35736125)
> It's not even a shell protocol if you think about it!

Nor is SSH. Feel free to take a read over the RFCs. There's next to no 'sh' in SSH as a protocol. What mosh adds to SSH is the ability to securely resume a session. SSH is fundamentally protocol for setting up a secure connection and then ping-pong messages back and forth.

tmux runs locally. It's not a network daemon. The complexion of a daemon and protocol meant to operate over a network is very, very different from one intended to run over Unix domain sockets or on the loopback interface.