3 ms·
Unfortunately, ssh-agent does not have a way to discriminate against which remote is requesting authorization. So if you have dozens of keys and the correct key
by inetknght 8y ago
Unfortunately, ssh-agent does not have a way to discriminate against which remote is requesting authorization. So if you have dozens of keys and the correct key isn't among the first to be presented, then the remote server is likely to kick you for too many authorization attempts.
- peterwwillis 8y agoYou can use ssh_config to limit which agent keys are offered to which remotes. https://superuser.com/questions/272465/using-multiple-ssh-public-keys/272613#272613 https://superuser.com/questions/272465/using-multiple-ssh-pu...
- inetknght 8y agoYes, but configuring that for hundreds of remotes is infeasible.