Too many authentication attempts when using ssh agent with agent forwarding
I use ssh to change to the root user from a login user on my server. Therefore I connect to root@localhost and I use ssh forwarding. But now I added more keys to my 1Password vault and I am getting the too many attempts error.
How do I need to configure my ssh config locally and on the remote server in order to avoid this error?
Software versions are all up to date.
Comments
-
Your sshd_config on the server can be set to allow more attempts before failing authentication… however, I’d really prefer a way to specify a key in 1P to be used for a specific server rather than having it rotate through them trying. Otherwise the more ssh keys we put in 1P, the more we have to configure all servers to do more than 5 attempts or whatever.
0 -
See here for a solution: https://developer.1password.com/docs/ssh/agent/advanced/#ssh-server-six-key-limit
0