the components
Server:
- Gentoo Linux 2.17
- mosh 1.4.0 [build mosh 1.4.0]
- OpenSSH_10.0p2, OpenSSL 3.4.1 11 Feb 2025
- Linux 6.12.31-gentoo # 1 SMP PREEMPT_DYNAMIC Sun Jun 22 11:12:27 CEST 2025 x86_64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz GenuineIntel GNU/Linux
Client:
- macOS 15.5 (24F74)
- mosh 1.4.0 [build mosh 1.4.0]
- OpenSSH_9.9p2, OpenSSL 3.5.0 8 Apr 2025
- Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000 arm64
Authentication method: ed25519-sk using a YubiKey 5C NFC FW 5.4.3
the setup
- create a pseudo-keypair for a FIDO2 Security Key using
ssh-keygen -t ed25519-sk
- copy public key to host
- (configure ssh to use said pseudo-private key if necessary; to test run
ssh <host>)
- run
mosh <host>
- (confirm presence by touching button on security key to make sure authentication itself works)
the problem
expected outcome: mosh asks to confirm user presence like ssh does: Confirm user presence for key ED25519-SK SHA256:<fingerprint>
actual outcome: nothing on the command line. Authentication still works if presence is confirmed anyhow.
Addenda
- running the commands manually yields the expected results
- the issue is not limited to the platforms mentioned above, the same thing happens with Gentoo as the client and Debian as the server platform.
the components
Server:
Client:
Authentication method: ed25519-sk using a YubiKey 5C NFC FW 5.4.3
the setup
ssh-keygen -t ed25519-skssh <host>)mosh <host>the problem
expected outcome: mosh asks to confirm user presence like ssh does:
Confirm user presence for key ED25519-SK SHA256:<fingerprint>actual outcome: nothing on the command line. Authentication still works if presence is confirmed anyhow.
Addenda