Do I have to install mosh-server on my server to use Mosh?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have installed mosh on my MacOS via brew. Everything went perfect.



After I tried to connect to my server, I got a message:



localhost:~ darkstaff$ mosh root@*.*.*.*
root@*.*.*.*'s password:
bash: mosh-server: command not found
Connection to *.*.*.* closed.
/usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)


Do I have to install Mosh on my server? If so, how could I install?



I am using Debian.







share|improve this question















  • 1




    Yes you do. see the faq. Look for a debian package called mosh.
    – meuh
    Jul 11 at 9:40














up vote
0
down vote

favorite












I have installed mosh on my MacOS via brew. Everything went perfect.



After I tried to connect to my server, I got a message:



localhost:~ darkstaff$ mosh root@*.*.*.*
root@*.*.*.*'s password:
bash: mosh-server: command not found
Connection to *.*.*.* closed.
/usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)


Do I have to install Mosh on my server? If so, how could I install?



I am using Debian.







share|improve this question















  • 1




    Yes you do. see the faq. Look for a debian package called mosh.
    – meuh
    Jul 11 at 9:40












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have installed mosh on my MacOS via brew. Everything went perfect.



After I tried to connect to my server, I got a message:



localhost:~ darkstaff$ mosh root@*.*.*.*
root@*.*.*.*'s password:
bash: mosh-server: command not found
Connection to *.*.*.* closed.
/usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)


Do I have to install Mosh on my server? If so, how could I install?



I am using Debian.







share|improve this question











I have installed mosh on my MacOS via brew. Everything went perfect.



After I tried to connect to my server, I got a message:



localhost:~ darkstaff$ mosh root@*.*.*.*
root@*.*.*.*'s password:
bash: mosh-server: command not found
Connection to *.*.*.* closed.
/usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)


Do I have to install Mosh on my server? If so, how could I install?



I am using Debian.









share|improve this question










share|improve this question




share|improve this question









asked Jul 11 at 8:57









AGamePlayer

1,826102742




1,826102742







  • 1




    Yes you do. see the faq. Look for a debian package called mosh.
    – meuh
    Jul 11 at 9:40












  • 1




    Yes you do. see the faq. Look for a debian package called mosh.
    – meuh
    Jul 11 at 9:40







1




1




Yes you do. see the faq. Look for a debian package called mosh.
– meuh
Jul 11 at 9:40




Yes you do. see the faq. Look for a debian package called mosh.
– meuh
Jul 11 at 9:40










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Yeah. The client has to talk to something on the remote end. It uses SSH for the initial connection, but the idea of mosh is that it uses its own protocol, so it needs its own server program too.



I'd suggest also using screen or tmux with mosh, since if the client dies (e.g. you reboot your laptop), there's no way to reconnect to the running mosh session on the server.



apt-get install mosh screen






share|improve this answer





















  • May I know what is screen for in this case?
    – AGamePlayer
    Jul 11 at 11:06






  • 1




    @AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
    – ilkkachu
    Jul 11 at 12:00










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454647%2fdo-i-have-to-install-mosh-server-on-my-server-to-use-mosh%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Yeah. The client has to talk to something on the remote end. It uses SSH for the initial connection, but the idea of mosh is that it uses its own protocol, so it needs its own server program too.



I'd suggest also using screen or tmux with mosh, since if the client dies (e.g. you reboot your laptop), there's no way to reconnect to the running mosh session on the server.



apt-get install mosh screen






share|improve this answer





















  • May I know what is screen for in this case?
    – AGamePlayer
    Jul 11 at 11:06






  • 1




    @AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
    – ilkkachu
    Jul 11 at 12:00














up vote
1
down vote













Yeah. The client has to talk to something on the remote end. It uses SSH for the initial connection, but the idea of mosh is that it uses its own protocol, so it needs its own server program too.



I'd suggest also using screen or tmux with mosh, since if the client dies (e.g. you reboot your laptop), there's no way to reconnect to the running mosh session on the server.



apt-get install mosh screen






share|improve this answer





















  • May I know what is screen for in this case?
    – AGamePlayer
    Jul 11 at 11:06






  • 1




    @AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
    – ilkkachu
    Jul 11 at 12:00












up vote
1
down vote










up vote
1
down vote









Yeah. The client has to talk to something on the remote end. It uses SSH for the initial connection, but the idea of mosh is that it uses its own protocol, so it needs its own server program too.



I'd suggest also using screen or tmux with mosh, since if the client dies (e.g. you reboot your laptop), there's no way to reconnect to the running mosh session on the server.



apt-get install mosh screen






share|improve this answer













Yeah. The client has to talk to something on the remote end. It uses SSH for the initial connection, but the idea of mosh is that it uses its own protocol, so it needs its own server program too.



I'd suggest also using screen or tmux with mosh, since if the client dies (e.g. you reboot your laptop), there's no way to reconnect to the running mosh session on the server.



apt-get install mosh screen







share|improve this answer













share|improve this answer



share|improve this answer











answered Jul 11 at 9:50









ilkkachu

47.3k668130




47.3k668130











  • May I know what is screen for in this case?
    – AGamePlayer
    Jul 11 at 11:06






  • 1




    @AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
    – ilkkachu
    Jul 11 at 12:00
















  • May I know what is screen for in this case?
    – AGamePlayer
    Jul 11 at 11:06






  • 1




    @AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
    – ilkkachu
    Jul 11 at 12:00















May I know what is screen for in this case?
– AGamePlayer
Jul 11 at 11:06




May I know what is screen for in this case?
– AGamePlayer
Jul 11 at 11:06




1




1




@AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
– ilkkachu
Jul 11 at 12:00




@AGamePlayer, it allows reattaching to the session if the client dies, like I said. Without it, anything you have running under mosh keeps running but is inaccessible if the client dies. (You don't need it if the network gets disconnected, just if the client process closes for any reason.) Also, you get multiple windows multiplexed in that one terminal.
– ilkkachu
Jul 11 at 12:00












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454647%2fdo-i-have-to-install-mosh-server-on-my-server-to-use-mosh%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay