You are not logged in.
Pages: 1
Forgive me for the newbie question, but how do I make mosh-server run on startup? For ssh, I can just
systemctl enable sshd
But for mosh, this didn't work with mosh, moshd, or mosh-server. Is there a way to auto-start it like sshd?
Last edited by CrazyTux (2014-08-16 14:45:30)
Offline
Oh, now I understand. You only need sshd running on the remote host, and mosh-server gets started automatically when you mosh to it. Solved.
Offline
I have no idea what mosh is, but I just unstalled it. I see there is no moshd, so that is nonsensical from the start. But there is a mosh-server which is likely what you want to run at startup, right? Pacman -Ql quickly revealed that the package does not provide a systemd service file - that is why systemctl can't do anything with it. So you'd need to make your own service file for it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
It seems that as mosh is a front-end for ssh, when you type "mosh remotehost" it ssh's to remotehost and starts mosh-server from there (or something like that). Just start sshd on the remote host (that has mosh installed) and try "mosh <remote host name>" on another computer.
Mosh basically improves ssh, so you can change network without disconnecting, and it predicts what the remote host will say, e.g. "a" when you type a.
Offline
Pages: 1