Can't connect to local (within the same lan) server with user different from root

Open
#1,003 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ubuntu
Domain
networking

Research direction

Reproduce the reported contrast using the two mosh commands: root succeeds on the local LAN, while the default user reaches SSH but receives no UDP data on port 60002. Start by comparing the server-side behavior and permissions for both users; done means identifying why the non-root connection fails and documenting a verified fix or next diagnostic step.

Written by the indexing model from the issue text.

Description

support

I have an odd issue with a local server running neon (that's ubuntu xenial 16.04). I can connect to it with mosh only as user root, i.e.:

jmarcet@yoga $ mosh root@himawari

works without issue, so there are no firewall issues, yet

jmarcet@yoga $ mosh himawari

mosh did not make a successful connection to 10.7.0.2:60002.
Please verify that UDP port 60002 is not firewalled and can reach the server.
(By default, mosh uses a UDP port between 60000 and 61000. The -p option
selects a specific UDP port number.)
[mosh is exiting.]

In the later case, it starts a ssh connection but it shows a blue line on top saying:

mosh: nothing received from server on UDP port 60002. [To quit: Ctrl-^ .]

and there are no new mosh processes launched either.

I'm out of ideas on how to debug it. Any suggestion?

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mobile-shell/mosh

All issues in mobile-shell/mosh

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.