When I connect to a remote machine using ssh, my ssh agent will try all key files available in
Per default, how many key files can the agent try for the log-in until server sends
permission denied (publickey)?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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.
My memory is that this has been consistent for many releases of OpenSSH, but as with any configurable, it is best to run
man on your own system (the remote system in this case) to check the manual pages for the actual installation on that system.