<div dir="ltr">I started, and then stopped using mosh several years ago. I find that mosh has two disadvantages:<div><br></div><div>(1) After dropping the initial ssh connection, it doesn't keep /var/log/wtmp updated (see "man who") to indicate that someone is logged into the system. I ran afoul of this when using mosh on an HPC system, where the administrators didn't know whether I was trying to hide the fact that I was logged in, and disabled my account (until I explained). Their usage policy now forbids using mosh.</div><div><br></div><div>(2) Mosh uses a unique session key. If I am logged into a remote system, and e.g. need to reboot my laptop, then it is impossible to continue an existing session. (That's by design, but still inconvenient for me.)</div><div><br></div><div>I have now switched to using autossh and tmux. autossh will try to re-establish the connection when it drops (network outage, moving the laptop to a different wireless network). When I need to reboot, I need to run autossh manually, but that's a small price to pay. tmux will keep my remote session alive and allow me to reconnect.</div><div><br></div><div>-erik</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 21, 2018 at 12:39 AM Chamunks <<a href="mailto:chamunks@gmail.com">chamunks@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">You need to have Mosh installed and a range of ports opened.  </div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 20, 2018 at 2:39 PM CrankyOldBugger <<a href="mailto:crankyoldbugger@gmail.com" target="_blank">crankyoldbugger@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I was interested in Mosh a year or so ago, but never actually got using it.  However, you do need to install it on the server as well as the client.  Any existing SSH keys or accounts will work with Mosh.<br></div><div><br></div><div>I found an article that outlines the differences/similarities between SSH and Mosh here:  <a href="http://linuxpitstop.com/ssh-vs-mosh/" target="_blank">http://linuxpitstop.com/ssh-vs-mosh/</a></div><div><br></div><div>Keep in mind, though, that Mosh uses SSH in the background to do the actual port listening, and for initiating the connection.  At some point after establishing a connection Mosh will take over from SSH and starts the Mosh server on the remote end.  SSH is in fact discarded and the Mosh connection continues via UDP.</div><div><br></div><div>More technical details are at <a href="https://lwn.net/Articles/722923/" target="_blank">https://lwn.net/Articles/722923/</a></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 20 Dec 2018 at 14:13, Paul Nijjar via kwlug-disc <<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Newbie question: What needs to be installed on the server of an SSH<br>
host in order for me to use mosh? Does the server need to have mosh<br>
installed as well? Is this the "mosh" package?<br>
<br>
- Paul<br>
-- <br>
<a href="http://pnijjar.freeshell.org" rel="noreferrer" target="_blank">http://pnijjar.freeshell.org</a><br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Erik Schnetter <<a href="mailto:schnetter@gmail.com" target="_blank">schnetter@gmail.com</a>></div><div><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br></div><div><br></div></div></div></div></div>