Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !164

Merged
Created May 09, 2017 by Jérome Perrin@jeromeOwner

Add Mosh component

  • Overview 10
  • Commits 3
  • Changes 3

Add a Mosh (mobile shell) component https://mosh.org/ , especially for the "local echo" feature ( see demo) that makes remote shell over high latency network less painful.


I could not get the integrated mosh command to work with webrunner's openssh, but I'm already opening this MR for visibility. For now, connecting using the way described as Q: How do I run the mosh client and server separately? in mosh FAQ works.

You can evaluate this with:

[buildout]
extends = component/mosh/buildout.cfg
parts = mosh

Start the server from the server side (after ssh'ing to the server) :

$ LC_ALL=C.UTF-8 ./parts/mosh/bin/mosh-server new -s -v

it will prints something like:

MOSH CONNECT 60002 XXXeu5nj+CLZtw/HiIcrLQ

mosh-server (mosh 1.3.0) [build mosh 1.3.0]
Copyright 2012 Keith Winstein <mosh-devel@mit.edu>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[mosh-server detached, pid = 24525]

then from client connect with:

$ MOSH_KEY=XXXeu5nj+CLZtw/HiIcrLQ mosh-client 2001:X:X:X:X  60002
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/mosh
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7