Hacker News new | past | comments | ask | show | jobs | submit login

When connecting (for the first time) to a mosh server I get the following error message:

/usr/bin/mosh: Did not find mosh server startup message. <it then disconnects>

Server runs FreeBSD and the client is OS X. Any ideas?




Is mosh installed on the server? If you just normally ssh to the server and run "mosh-server", does it actually do something? (maybe it's not in your PATH?)


It's in my PATH. If I do that, this happens:

freebsd$ mosh-server

MOSH CONNECT 60001 cPiSdaPVTjKA/JQjy5jExg

mosh-server (mosh 1.1.3) 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 = 2751]

Warning: termios IUTF8 flag not defined. Character-erase of multibyte character sequence probably does not work properly on this platform.

However back on the OS X desktop, if I do the following:

osx$ export MOSH_KEY=cPiSdaPVTjKA/JQjy5jExg

osx$ mosh-client 18.4.12.5 60001

<it now starts connecting, but server side complains "Crypto exception: Packet failed integrity check.">




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: