[Bug 1482501] Re: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server
I added your ppa and updated mosh on the server: sebastian@bxpcsr05:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed libio-socket-ip-perl libsocket-getaddrinfo-perl The following packages will be upgraded: mosh 1 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade. Need to get 400 kB of archives. After this operation, 393 kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://de.archive.ubuntu.com/ubuntu/ precise/universe libsocket-getaddrinfo-perl amd64 0.20-2build2 [30.3 kB] Get:2 http://de.archive.ubuntu.com/ubuntu/ precise/universe libio-socket-ip-perl all 0.07-1 [18.7 kB] Get:3 http://ppa.launchpad.net/keithw/mosh/ubuntu/ precise/main mosh amd64 1.2.5+1038-0ppa~ubuntu12.04.1 [351 kB] Fetched 400 kB in 0s (1,157 kB/s) (Reading database ... 425299 files and directories currently installed.) Preparing to replace mosh 1.1.3-1 (using .../mosh_1.2.5+1038-0ppa~ubuntu12.04.1_amd64.deb) ... Unpacking replacement mosh ... Selecting previously unselected package libsocket-getaddrinfo-perl. Unpacking libsocket-getaddrinfo-perl (from .../libsocket-getaddrinfo-perl_0.20-2build2_amd64.deb) ... Selecting previously unselected package libio-socket-ip-perl. Unpacking libio-socket-ip-perl (from .../libio-socket-ip-perl_0.07-1_all.deb) ... Processing triggers for man-db ... Processing triggers for ufw ... Setting up mosh (1.2.5+1038-0ppa~ubuntu12.04.1) ... Setting up libsocket-getaddrinfo-perl (0.20-2build2) ... Setting up libio-socket-ip-perl (0.07-1) ... After that, I uncommented the the SendEnv on the client again and tried to connect. The error message is the same as above. When commenting the line again on the client, I can connect as described above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1482501 Title: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mosh/+bug/1482501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1482501] Re: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server
The mosh-clients and mosh-servers in Ubuntu 12.04 and 14.04 are compatible (in both directions). However, you need a UTF-8 locale to run Mosh. Before Mosh version 1.2, this was the user's (or SSH's) responsibility. Debian, Ubuntu, and Mac OS X have shipped with SendEnv LANG LC_* in its ssh_config for some time, but not forever. Apparently you don't have this in your SSH config. Because not everybody was sending these environment variables, in 2012, Mosh version 1.2 started transferring these variables itself. We also improved the diagnostic message considerably. Your options to fix this problem are basically: (1) Add the SendEnv line (that you have already discovered) to /etc/ssh/ssh_config. I believe this would have been the default if you had installed Ubuntu 12.04 fresh. (2) Upgrade to Mosh 1.2.4 (released in 2013) by using the ubuntu- backports repository. (3) Upgrade to the most recent version of Mosh using the ppa:keithw/mosh repository. ** Changed in: mosh (Ubuntu) Status: New => Fix Released ** Changed in: mosh (Ubuntu) Assignee: (unassigned) => Keith Winstein (keithw) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1482501 Title: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mosh/+bug/1482501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1482501] Re: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server
apport information ** Tags added: apport-collected trusty ** Description changed: sebastian@client[0r/0s]:~ $ mosh server.nohn.net mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] mosh-server: invalid option -- 'l' Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...] setlocale: No such file or directory Connection to server.nohn.net closed. /usr/bin/mosh: Did not find mosh server startup message. Locale settings on client: sebastian@client[0r/0s]:~ $ locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=de_DE.UTF-8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL= Locale settings on server: $ ssh server.nohn.net locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF-8 LANGUAGE= LC_CTYPE="en_GB.UTF-8" LC_NUMERIC=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=de_DE.UTF-8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL= Verify locale integrity on client: sebastian@client[0r/0s]:~ $ LANG=en_GB.UTF-8 locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=de_DE.UTF-8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL= Verify locale integrity on server: sebastian@server:~$ LANG=en_GB.UTF-8 locale LANG=en_GB.UTF-8 LANGUAGE=en_GB.utf8 LC_CTYPE="en_GB.utf8" LC_NUMERIC="en_GB.utf8" LC_TIME="en_GB.utf8" LC_COLLATE="en_GB.utf8" LC_MONETARY="en_GB.utf8" LC_MESSAGES="en_GB.utf8" LC_PAPER="en_GB.utf8" LC_NAME="en_GB.utf8" LC_ADDRESS="en_GB.utf8" LC_TELEPHONE="en_GB.utf8" LC_MEASUREMENT="en_GB.utf8" LC_IDENTIFICATION="en_GB.utf8" LC_ALL=en_GB.utf8 It works, when I comment SendEnv LANG LC_* in /etc/ssh/ssh_config. + --- + ApportVersion: 2.14.1-0ubuntu3.11 + Architecture: amd64 + CurrentDesktop: GNOME + DistroRelease: Ubuntu 14.04 + InstallationDate: Installed on 2015-08-06 (0 days ago) + InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1) + Package: mosh 1.2.4a-1ubuntu1 + PackageArchitecture: amd64 + ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14 + Tags: trusty + Uname: Linux 3.16.0-45-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo + _MarkForUpload: True ** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/1482501/+attachment/4440838/+files/Dependencies.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1482501 Title: Ubuntu 14.04 mosh client unable to connect to Ubuntu 12.04 mosh server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mosh/+bug/1482501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs