This PR makes the "client identity" and "server identity" members of service.Connector private, moving just about everything into accessor methods, so that in the future the connector can be updated while the rest of the code uses it.
In addition, this PR changes agentpool and rcmanager to use a slice of ssh.AuthMethods rather than a ssh.Signer used as a fixed private key.
This PR makes the "client identity" and "server identity" members of
service.Connector
private, moving just about everything into accessor methods, so that in the future the connector can be updated while the rest of the code uses it.In addition, this PR changes agentpool and rcmanager to use a slice of
ssh.AuthMethod
s rather than assh.Signer
used as a fixed private key.