Mosh: Problems with running Mosh

Created on 13 Jan 2013  路  1Comment  路  Source: mobile-shell/mosh

Hi, I have problems running Mosh

Server (debian squeeze, (mosh 1.2.3) is installed from sid main)
server locale:
LANG=ru_RU.UTF-8
LANGUAGE=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8
iptables:
ACCEPT udp -- anywhere anywhere multiport dports 60000:61000

client (OSX) locale:
LANG="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_CTYPE="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"

server:

lsof -i

mosh-serv 742 root 3u IPv4 3683 0t0 UDP server.org:60006

mosh-server new -p 60006 -i x.x.x.x (also tried just mosh-server, also with -s)

client:

mosh [email protected] -p 60006 (also tried without -p)

(after paswword input):
Failed binding to x.x.x.x:60006
Error binding to IP x.x.x.x: bind: address already in use
Failed binding to 0.0.0.0:60006
Error binding to any interface: bind: address already in use
Network exception: bind: address already in use
Connection to server.org closed.
/usr/bin/mosh: Did not find mosh server startup message.

How can I run it?

P.S. Also if i run mosh client with wrong port it tells me that
mosh: Nothing received from server on UDP port 60005. [To quit: Ctrl-^ .]

UPD. Client version on OSX is 1.2.1

Most helpful comment

Hello. You don't need to start the server manually. The mosh program will do that itself. Just run mosh user@servername, as documented on http://mosh.mit.edu or in the mosh(1) man page.

>All comments

Hello. You don't need to start the server manually. The mosh program will do that itself. Just run mosh user@servername, as documented on http://mosh.mit.edu or in the mosh(1) man page.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shibumi picture shibumi  路  5Comments

xapple picture xapple  路  7Comments

kotashiratsuka picture kotashiratsuka  路  3Comments

jiyinyiyong picture jiyinyiyong  路  7Comments

earlchew picture earlchew  路  5Comments