Is it possible to use agent forwarding excluding all keys from being forwarded, except ones specifically stated? Alternatively, are there any ways to specify the order the keys are tried per session?
Using ssh-agent
requires managing different sockets: https://superuser.com/questions/357602/use-a-specified-key-from-ssh-agent/401737#comment396923_358604
Are there any alternative agents that are more easily configurable?
For example:
Client A --> ssh/agent-forwarding --> Server B --> Server C
|
------> Server D
I want to allow only one key in agent forwarding, allowing: A -> B -> C
, and not A -> B -> D
. Or at least specify the order the keys are tried.
(Edited for clarity after @jeff-ferland answer.)