Hi,

I'm baffled. It seems to work now.

I compiled from git and installed it into /usr/local/bin/mosh , which seems to work:

patrik@hirvinen:~/mosh⟫ /usr/local/bin/mosh-server new -v

MOSH CONNECT 60003 RobGIv+BFf58Q79o6/Fs3w

mosh-server (mosh 1.2.5.95rc1) [build mosh-1.2.5.95rc1-4-gece4280]
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 = 7075]
patrik@hirvinen:~/mosh⟫ No connection within 60 seconds.

[mosh-server is exiting.]
I rolled the non-local mosh back to 1.2.5-2, which now behaves as expected:

patrik@hirvinen:~⟫ /usr/bin/mosh-server new -v

MOSH CONNECT 60002 Ti+bmtXqIggnLbFaygEZpw

mosh-server (mosh 1.2.5) [build mosh 1.2.5]
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 = 30260]
patrik@hirvinen:~⟫ No connection within 60 seconds.

[mosh-server is exiting.]

patrik@hirvinen:~⟫

ldd for ubuntu version
patrik@hirvinen:~⟫ ldd /usr/bin/mosh-server
        linux-vdso.so.1 =>  (0x00007ffc10bba000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f689d232000) libprotobuf.so.9 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 (0x00007f689cf14000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f689cab8000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f689c8b5000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f689c69b000)
libutempter.so.0 => /usr/lib/x86_64-linux-gnu/libutempter.so.0 (0x00007f689c497000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f689c115000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f689be0c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f689bbf5000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f689b9d8000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f689b60f000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f689b40a000)
        /lib64/ld-linux-x86-64.so.2 (0x000056244f71e000)

ldd for git version:
patrik@hirvinen:~/mosh⟫ ldd /usr/local/bin/mosh-server
        linux-vdso.so.1 =>  (0x00007ffc611c3000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa40eac2000) libprotobuf.so.9 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 (0x00007fa40e7a4000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fa40e348000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fa40e145000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa40df2b000)
libutempter.so.0 => /usr/lib/x86_64-linux-gnu/libutempter.so.0 (0x00007fa40dd27000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa40d9a5000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa40d69c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa40d485000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa40d268000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa40ce9f000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa40cc9a000)
        /lib64/ld-linux-x86-64.so.2 (0x00005576a826b000)





On 27.07.2016 12:26, Keith Winstein wrote:
I can't seem to replicate this using a fresh Amazon EC2 instance with Ubuntu 16.04 LTS -- it works for me. :-(

It does look a lot like https://github.com/mobile-shell/mosh/issues/727 aka https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817929, which we believe to be fixed in the 1.2.5-2 package.

If you run "mosh-server" at the command line, what is the version output? It should look something like "mosh-server (mosh 1.2.5) [build mosh 1.2.5]".

Can we also see the output of "which mosh-server" and "ldd /usr/bin/mosh-server"?

Thanks,
Keith

On Wed, Jul 27, 2016 at 1:19 AM, Patrik Hirvinen <patrik.hirvi...@iki.fi <mailto:patrik.hirvi...@iki.fi>> wrote:

    As requested on IRC, output of mosh-server new -v

    > patrik@hirvinen:~⟫ mosh-server new -v -i 37.252.125.72 -p
    60001:61000
    > MOSH CONNECT 60001 J0DaNHE4DY7Icic2RA8tJg
    > mosh-server (mosh 1.2.5) [build mosh
    > 1.2.5]                                     Copyright 2012 Keith
    > Winstein <mosh-devel@mit.edu <mailto: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 = 20937]
    Paste breaks somehow, this is immediately afterwards
    > patrik@hirvinen:~⟫ pgrep mosh
    "1" below is pgrep's exit status
    > 1 patrik@hirvinen:~⟫

    For context, paste from IRC:
    > 10:56 < Hirvinen> Hi! Just wanted to pop in to tell that on my
    Ubuntu
    > 16.04
    >   VPS, the version in default repositories (1.2.5-2) doesn't work.
    > "nothing
    >   received on 60001". Running mosh-server manually also exits
    > immediately, not    after 60 seconds. I can use nc to communicate on
    > UDP 60001. For me, this was
    >   fixed by upgrading to Ubuntu PPA version
    > 1.2.5.95rc1+1152-0ppa~ubuntu16.04.1
    >   . I'm not using sslh. Is this a known issue?
    > 10:56 < Hirvinen> If not, may I help by providing additional
    information?

    --
    Patrik Hirvinen
    patrik.hirvi...@iki.fi <mailto:patrik.hirvi...@iki.fi>
    +358-(0)40-7186320 <tel:%2B358-%280%2940-7186320>

    _______________________________________________
    mosh-devel mailing list
    mosh-devel@mit.edu <mailto:mosh-devel@mit.edu>
    http://mailman.mit.edu/mailman/listinfo/mosh-devel



--
Patrik Hirvinen
patrik.hirvi...@iki.fi
+358-(0)40-7186320

_______________________________________________
mosh-devel mailing list
mosh-devel@mit.edu
http://mailman.mit.edu/mailman/listinfo/mosh-devel

Reply via email to