Is there a way to use nix remote builds with a Yubikey (using yubikey-agent)?
I’m trying to avoid maintaining a separate passwordless ssh key and would like to use the yubikey for auth. SSH-ing into the machine works without any interaction, but nix build fails to authenticate.
warning: Git tree '.../nixpkgs' is dirty cannot build on 'ssh://email@example.com': error: cannot connect to 'firstname.lastname@example.org': Permission denied, please try again. Permission denied, please try again. Received disconnect from fd1d:xxxx:xxxx::xxx port 22:2: Too many authentication failures Disconnected from fd1d:xxxx:xxxx::xxx port 22
$ ssh email@example.com no-rc enabled Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish marin@xx ~>