mobile-shell / mobile-shell/mosh

Mosh hangs during connection to the server in AIX

Open
#1,341 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello community members,

We are experiencing an issue where Mosh hangs during connection to the server in AIX using the command:

mosh root@server_name

The connection proceeds correctly when connecting to localhost or to remote systems without password protection—in these cases, the Mosh session starts successfully, and we can see the shell prompt.

However, when attempting to connect to a password-protected server, the session hangs with no further interaction possible.

The process tree is as shown below:

#proctree 20382124
2687330    /usr/sbin/srcmstr
   9371960    sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
      19136866    sshd: root@pts/4
         20185538    -ksh
            14877164    bash
               20119814    perl /opt/freeware/bin/mosh root@aixoss1-lp8.pok.stglabs.ibm.com
                  20382124    ssh -n -tt -S none -o ProxyCommand='/opt/freeware/bin/mosh' '--family=prefer-in
                     13893910    perl /opt/freeware/bin/mosh --family=prefer-inet --fake-proxy -- aixoss1-lp8.po
                        19202338    perl /opt/freeware/bin/mosh --family=prefer-inet --fake-proxy -- aixoss1-lp8.po ```

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.

Research direction

Start by reproducing mosh root@server_name on AIX against a password-protected server and compare it with localhost or an unprotected server. Use the provided proctree output to trace where the SSH and Mosh processes stop; done means the connection completes and displays the shell prompt.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.