Mosh
Cluster SSH
Mosh | Cluster SSH | |
---|---|---|
158 | 4 | |
12,868 | 929 | |
0.7% | 0.6% | |
0.0 | 5.4 | |
8 months ago | 5 months ago | |
C++ | Perl | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mosh
-
Developer wrote 25k lines of Neovim plugin code using phone and touchscreen
Try pairing tmux with mosh, it's how I've been working for years whenever I'm forced to admin through a brittle straw. Mosh combats lag pretty well and doesn't care if your connection drops intermittently. https://mosh.org/
-
Autossh – automatically restart SSH sessions and tunnels
Curious what advantages this has over mosh?
https://mosh.org/
-
You (probably) do not understand UDP
Normal ssh is TCP-based. But there is also a different implementation named mosh.
-
Show HN: Shpool, a Lightweight Tmux Alternative
Do you know mobile shell (mosh)? [1]
Seems like most of the features you need are what mosh offers. I've been using it for decades, probably, and it is pretty awesome for latent mobile connections (read as: throttled 2G @16kBit/s).
https://github.com/mobile-shell/mosh
-
Lsix: Like "Ls", but for Images
I use tmux, but as far as unreliable connections, I've found mosh[0] to be the best solution to the problem (when you have the ability to install it). It basically runs a background process on connection not tied to the session that your client will automatically reconnect to if the connection fails. I regularly close my laptop, travel between home and work, open it back up and the connection is available almost instantly.
[0] https://mosh.org/
- Show HN: A WireGuard Powered Remote Shell
-
The IDEs we had 30 years ago and we lost
If you haven’t already, and I know this doesn’t hold up for GUI emacs or vim, but consider running them through https://mosh.org/
- mosh: Mobile Shell
-
Write Your Own Terminal
FWIW, I wouldn't try to parse escape sequences "directly" from the input bytestream -- it's easy to end up with annoying bugs. Longer-term it's probably better to separate the logic e.g.:
- First step (for a UTF-8-input terminal emulator) means "lexing" the input bytestream as UTF-8 into a stream of USVs, which involves some subtleties (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- Second step is to run the DEC parser/FSM logic on the sequence of USVs, which is independent of the escape sequences (https://vt100.net/emu/dec_ansi_parser ; https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- And then the third step is for the terminal to execute the "dispatch"/"execute"/etc. actions coming from the FSM, which is where the escape sequences and control chars get implemented (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
Without this separation, it's easier to end up with bugs where, e.g., a UTF-8 sequence or an ANSI escape sequence is treated differently when it's split between multiple read() calls vs. all in one call.
-
Typing Fast Is About Latency, Not Throughput
Btw, you can use mosh to hide the latency of SSH. https://mosh.org/
Cluster SSH
- Ad-hoc multi-server management with pdsh and friends
- Help opening multiple monitoring windows at once?
-
Need feedback on this crazy idea
Thanks. Once all the nodes are on the same virtual private network, you can have SSH access to all the nodes and can run bulk commands on all of them using something like https://github.com/duncs/clusterssh . With SSH, you have complete control over the node and can do anything you want, including starting/stopping services and rebooting nodes.
What are some alternatives?
Eternal Terminal - Re-Connectable secure remote shell
parallel-ssh - Asynchronous parallel SSH client library.
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
tmux - tmux source code
KeyBox - Bastillion is a web-based SSH console that centrally manages administrative access to systems. Web-based administration is combined with management and distribution of user's public SSH keys.