SSHClient calls SSH to create a client
(ctx context.Context)
| 299 | |
| 300 | // SSHClient calls SSH to create a client |
| 301 | func (c *agentConn) SSHClient(ctx context.Context) (*ssh.Client, error) { |
| 302 | return c.SSHClientOnPort(ctx, AgentSSHPort) |
| 303 | } |
| 304 | |
| 305 | // SSHClientOnPort calls SSH to create a client on a specific port |
| 306 | func (c *agentConn) SSHClientOnPort(ctx context.Context, port uint16) (*ssh.Client, error) { |
nothing calls this directly
no test coverage detected