I use mosh to connect to a ubuntu machine.
I had scripts which could tell me whether a session came from
my phone or my tablet (assuming it was initiated on the local
network), but recently bit rot has set in.
The fundamental problem is that for a roaming protocol,
the ip address does not identify the client device.
First the transition to 64bit time with Ubuntu Oracular 24.10,
meant a switch from wtmp to wtmpdb and pam stopped recording the pty
so that `last` just said 'ssh' in the terminal column.
Now Ubuntu Plucky 25.04 has broken `who`
https://discourse.ubuntu.com/t/plucky-puffin-release-notes/48687#p-120902-systemd-v2574-8
as "systemd is no longer built with utmp support".
I'm wondering whether adding a pam module or config for mosh
is the way to go ?
Does anyone else have experience, thoughts or ideas on logging mosh
sessions on current OSes ?
Thanks,
--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk
_______________________________________________
mosh-users mailing list
mosh-users@mit.edu
https://mailman.mit.edu/mailman/listinfo/mosh-users