New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection hangs on RHEL 8.4 server #1152
Comments
|
Hmm, does this problem happen on actual RHEL 8.4, or only on Oracle Linux? Does it happen with the EPEL package, or only building from source? Does it happen with the Mosh 1.3.2 release, or only tip-of-tree from the Git repository? |
|
i am seeing this on debian bullseye. This problem occurs sporadically but only started about 2 weeks ago, probably coinciding with system updates. It also seems to correlate with the server being under load. |
|
I found that mosh opens the ssh connection where it runs I'm still investigating. If I just run the ssh command This problem occurs even with |
|
So it seems like an openssh bug, but the bug only seems to occur when it's mosh that starts the ssh client up. I'm stumped at this point. A workaround that seems to work but that is going to make you feel slightly ill is to create a
Then run mosh as such: (of course |
|
Here's the strace out of the sshd server, starting at the point that it received the SIGCHLD because the |
|
@byron-hawkins you can trivially patch your mosh perl script according to the change I made. |
|
I know this is closed, but I just wanted to report that the simple perl script change from #1160 does not work for me on RHEL 8.5 (server) and Fedora 31 (client), but the mosh-wrapper hack does work. Same exact issue -- two blank lines and a hang when I use mosh, but works perfectly if I run mosh-server and mosh-client directly. |
On a fresh install of Oracle Linux (based on RHEL 8.4), any attempt to connect with mosh over a direct ethernet connection shows two blank lines and nothing else. I can start a
mosh-serveron the server, copy theMOSH_KEYto the client and then connect successfully usingmosh-clienton port 60001--everything about the session seems totally normal in this case. But attemptingmosh --port=60001results in the same 2 blank lines.Diagnosing via
gdb, the two server processes are stopped atread()andselect(), while the client is atwait(). Theperlcommand remains active in the client's terminal title bar. With--no-ssh-ptythe two blank lines are not generated on the connection attempt, but nothing else changes.The text was updated successfully, but these errors were encountered: