NOTE: You don't need to compile Mosh on Cygwin yourself anymore; just install the package with Cygwin's setup.exe
.
-
Download Cygwin.
-
Run
setup.exe
and install the following packages in addition to the default ones:- make
- boost
- libncurses-devel
- pkg-config
- perl
-
Download and compile Protocol Buffers (make sure there are no spaces in the working directory when compiling Protocol Buffers,
make
will fail if there are):$ tar zxvf protobuf-2.4.1.tar.gz $ cd protobuf-2.4.1 $ ./configure $ make $ make install
-
Download and compile Mosh:
$ tar zxvf mosh-1.1.3.tar.gz $ cd mosh-1.1.3 $ ./configure CPPFLAGS="-I/usr/include/ncurses" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ $ make $ make install
-
Install the
IO::Pty
Perl module:$ perl -MCPAN -e shell cpan> install IO::Pty
-
Rock’n’roll.
@mqhiller is mosh-server installed in your path on 192.168.97.121? If it's installed but not in your path, use the client flag --server=/path/to/mosh-server to specify the path to it. If it's not installed, install it.