[mosh-devel] mosh used for one-off commands and/or independent of ssh

Reini Urban reini at cpanel.net
Tue Oct 2 18:22:58 EDT 2012


These really are mosh-users questions.

On 10/02/2012 04:26 PM, Edward Peschko wrote:
> A bit of background.. We use ssh in the automation of processes,
> mostly qa and testing and under a Expect harness, and ssh has the
> unfortunate tendency to freeze and inopportune times, and is not all
> that stable on cygwin.

Interesting. ssh should be more stable than mosh.

> Anyways, I've been using mosh on my development setup for about a
> month and a half now, and have been pretty impressed with its
> stability, so it hit me whether or not I could replace ssh with mosh
> and get a large stability win. So I was wondering:
>
> 1. Is mosh available on cygwin?

Yes, as official package via htp://cygwin.com/setup.exe

> 2. Can mosh run without a sshd server, most preferably with a udp
> server instead?

I don't think so, but Keith should know.

> 3. Can mosh run a standalone command, like ssh?

It is documented, but my tests failed.

$ mosh --help
Usage: mosh [options] [--] [user@]host [command...]


> 4. Has anybody tried #1 thru #3 with the use that I intend (namely
> thru expect doing automation)?
>
> Thanks much for any info - I realize that #2 is not that safe
> security-wise, but since the boxes in question are throwaway vms, it
> isn't too important to be really secure. Much more important is the
> stability - as it stands, we spend a lot of time debugging the testing
> harness rather than actual issues, and its my hunch that mosh could
> help out a lot here.. Suggestions other than mosh are appreciated
> too..

-- 
Reini

Register Now for cPanel Conference
Oct 8-10, 2012, Houston, Texas
http://conference.cpanel.net/



More information about the mosh-devel mailing list