Could do that (reuse getSSHAgentConnector()), but that would add a dependency to the Client that does not yet exist and would have to make that function public. Easily done if you don't feel that is a problem. To me injection here needlessly complicates things.