-
Notifications
You must be signed in to change notification settings - Fork 749
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
mosh login not showing in w
output (Ubuntu 24.04)
#1335
Comments
How did you install mosh? Did you compile from source? Install a package? |
In all cases installed from a package. On the ubuntu servers, it is |
On Ubuntu the package should be built with utempter support which writes to wtmp. Is there something preventing the utempter helper from working (like apparmor?) |
I'm not sure how to check that. I see that I have libutempter0 package installed, as well as apparmor & libapparmor1 packages. Is there a way to ask utempter if something is interrupting it? |
Checking in on this. So, I don't see any reference to problems with utempter. mosh-server is dynamically linked with it, and I see nothing mentioning "utempter" in any of my log files other than the usage errors when I tried to run the binary by hand. :-) I see the mosh login in "who" output, just not "w", so I think it's more complicated than simply entries in utmp or wtmp. Again, I note that if I log in with ssh directly I see:
But when logging in with mosh:
|
I have multiple similarly configured servers. Two running Ubuntu 24.04 are showing no users in
w
output when I log in with mosh, but do show my login when I log in with ssh directly.A server running RHEL 8.10, however, does show an entry when I'm logged in via mosh. The version of mosh on all systems is 1.40.
== RHEL 8.10 ==
== Ubuntu 24.04 ==
I notice also that the effect of "w" as an inline command ssh'd over is different, but while that may be related to a solution, it's not a problem I'm worried about.
The text was updated successfully, but these errors were encountered: