I am trying to connect via SSH to a server using a work-issued PIV card, but have run into some problems. I would like to be able to do this, so as to put together a process for more general usage and deployment to our end users.
Various details:
* ChomeOS Version 88.0.4324.153 (Official Build) (64-bit), using a pristine Google account created for this purpose. (literally a new Chromebook out of the box, updated and cleanly rebooted)
* Secure Shell (dev) 0.39.7728.27429.
* CACKey Version 0.7.10.10
* Smart Card Connector 1.3.3.0
I can use both the card and card reader on other Linux systems without problems.
Within CACKey, I am able to read certificates, and they appear correct. Smart Card Connector shows both the card reader, and two connected Apps: "Secure Shell Extension (dev)" and "CACKey"
SSH connection options are straightforward:
Relay server options are: --ssh-agent=gsc
SSH Arguments: -v -v -v
On connecting, I can see in the SSH debug logs that the certificates from the card are not offered to the server (just the default ~/.ssh/id_* files), nor is there obvious activity on the card reader itself (normally, there's a flashing light, and a short delay while the card is read).
The Smart Card Connector debug logs show that the reader is opened, but that there is a "sharing violation" message (see attached file).
Testing a bit more, including unplugging and reconnecting the reader, I get different behavior:
1. the light on the card reader flashes briefly, as if it is reading the card, but not as long as when it "works" on other hosts.
2. the SSH window freezes
3. after some time (~60s) the SSH window crashes ("Aw Snap!", error code 64000).
Smart Card Connector logs for this are attached as well.
I can't copy/paste the SSH logs (the Chrome window is frozen, then cleared), but I can try to get a screenshot if that would help. (the last SSH message is: "debug1: rekey in after 4294967296 blocks")
Downgrading to the non-Dev version of the SSH App (0.39) has the same behavior.
Is there something obvious that I'm missing, or anything else to try?
I'm happy to help debug the issue in detail.
Thanks,