You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Manjaro server and Debian Client config, the mosh client is able to SSH in, start mosh-server, then grab the connection details and exit, but when it attempts to connect via UDP nothing is received from the server.
I was able to connect by manually running mosh-server on the server, then copying the key and running mosh-client on my Debian client. However, if the session that spawned the mosh server is closed, the mosh server dies immediately. Here's how I tested the issue and arrived at this conclusion:
SSH from Debian client to Manjaro server (success)
start a tmux session within SSH session (success)
start mosh server in tmux session (success)
detach tmux session but leave SSH connection open (success)
start a new mosh-client connection using the details from above (success)
attach the tmux session to the new Mosh session (success, I can even see the mosh connection details in the tmux pane)
close the original SSH session that is not currently showing tmux output (FAIL)
I believe the same is happening when I run mosh by itself, even though the mosh server reports that it is detached from the terminal session it definitely is not.
The text was updated successfully, but these errors were encountered:
Does it make a difference if you logged into the system with an other SSH session? Do processes started with nohup/tmux/screen keep running if you logout? Has systemd been (mis-)configured to kill all processes on closing all login sessions? Are any errors written to stdout/stderr or syslog?
I had a similar issue with Siduction and the above comment helped me find that there was a line KillUserProcesses=yes in /etc/systemd/logind.conf. Commenting it out made mosh work again.
On a Manjaro server and Debian Client config, the
mosh
client is able to SSH in, start mosh-server, then grab the connection details and exit, but when it attempts to connect via UDP nothing is received from the server.I was able to connect by manually running mosh-server on the server, then copying the key and running mosh-client on my Debian client. However, if the session that spawned the mosh server is closed, the mosh server dies immediately. Here's how I tested the issue and arrived at this conclusion:
I believe the same is happening when I run
mosh
by itself, even though the mosh server reports that it is detached from the terminal session it definitely is not.The text was updated successfully, but these errors were encountered: