With more than 6 SSH keys in my password manager, I get an auth failure using the 1password ssh agent as it offers the git key too late and it seems that tangled rejects after 6 tries. It might be good to change this or document it.
Monorepo for Tangled
tangled.org
Allow more SSH keys to be tried before auth failure #310
open
opened by
bruceroettgers.eu
https://man7.org/linux/man-pages/man5/sshd_config.5.html
MaxAuthTries Specifies the maximum number of authentication attempts permitted per connection. Once the number of failures reaches half this value, additional failures are logged. The default is 6.
makes sense, in any case, instead of trying all keys available, users should configure their ssh clients to supply the correct key for the host.
Interesting! This might be a default in the sshd config; I'll have to dig into that to see if we can tweak this somehow.