Jump to content
coppit

[Plug-In] Mosh, the mobile shell

16 posts in this topic Last Reply

Recommended Posts

Mosh is an SSH replacement that works better over long distances and with intermittent connectivity. The "killer feature" for me is that I can sleep my laptop and not worry about losing my connection.

 

https://raw.githubusercontent.com/coppit/unraid-mosh/master/mosh.plg

 

This is a V6-only plugin

 

After installing this plugin, visit http://mosh.mit.edu/ and install a client on the computer that you wish to connect to the server with.

Share this post


Link to post

Can we assume this is only for v6? Might be a good idea to note that in the OP.

Share this post


Link to post

Coppit how does this work? Do you simply install it and it takes over? So next time I putty to unRAID it is "using" the improved SSH?

 

Sadly I get many interruptions when using SSH to one of my Ubuntu VM's... I assume I would have to install Mosh into my Ubuntu VM...

 

Thanks for this.

Share this post


Link to post

You'll need to install and use a client. See http://mosh.mit.edu/. There's a Chrome client that works, for example. Since I'm on Mac, I use homebrew to install a client.

Share this post


Link to post

I must have been trying while you were in the middle of updating. I guess when I reinstalled, it happened right around the time you updated.

 

Thanks!

Share this post


Link to post

I'm trying this out and getting the following error:

 

--------------

Trying authentication type Password

Password:

Bad response when running mosh-server: 'mosh-server: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory

SSH Login failed.

Mosh has exited.

Press "x" to close the window.

------------

 

 

Any ideas?

Share this post


Link to post

I'm trying this out and getting the following error:

 

--------------

Bad response when running mosh-server: 'mosh-server: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory

------------

 

Any ideas?

 

Unraid 6 right? On my system, it's at /usr/lib64/libutempter.so.0

Share this post


Link to post

I'm trying this out and getting the following error:

 

--------------

Bad response when running mosh-server: 'mosh-server: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory

------------

 

Any ideas?

 

Unraid 6 right? On my system, it's at /usr/lib64/libutempter.so.0

Not in bzroot, so probably installed as part of screen, maybe by Nerdpack.

Share this post


Link to post

Not in bzroot, so probably installed as part of screen, maybe by Nerdpack.

 

Right you are. I've included the dependency. Can you try it now?

 

Note that if someone uninstalls NerdPack, it's going to uninstall libutempter and break mosh. I've pinged eschultz to see if we can resolve this.

Share this post


Link to post

Just a quickie, will this be updated for the 6.7.0 versions? I installed the RC and it breaks mosh as it links to updated libraries, I created links to the libraries as mosh expected and it runs fine.

 

just a heads up for anybody using this.

Share this post


Link to post

This plugin has now been marked as being incompatible with unRaid 6.7.0+ until such time as it is updated to support the updated libaries.

Share this post


Link to post
On 4/13/2019 at 9:07 PM, pluginCop said:

This plugin has now been marked as being incompatible with unRaid 6.7.0+ until such time as it is updated to support the updated libaries.

Is there any way for force an install? It’s easy enough to fix once installed, but now it’s dissappeared from my system after an upgrade and now I obviously can’t install it.

Share this post


Link to post
22 minutes ago, Fizzyade said:

but now it’s dissappeared from my system after an upgrade and now I obviously can’t install it.

In CA settings, you can have it display incompatible apps

Share this post


Link to post
On 5/5/2019 at 3:38 AM, Squid said:

In CA settings, you can have it display incompatible apps

Awesome, mosh is back working on the latest rc now for me.

 

if I renable the option to hide incompatible apps will mosh remain installed?

Share this post


Link to post
9 hours ago, Fizzyade said:

if I renable the option to hide incompatible apps will mosh remain installed?

yes

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.