(ctx context.Context, address string, timeout time.Duration)
| 327 | } |
| 328 | |
| 329 | func dialSSH(ctx context.Context, address string, timeout time.Duration) (net.Conn, error) { |
| 330 | dialer := &net.Dialer{ |
| 331 | Timeout: timeout, |
| 332 | KeepAlive: sshKeepAlive, |
| 333 | } |
| 334 | return dialer.DialContext(ctx, "tcp", address) |
| 335 | } |
| 336 | |
| 337 | var errSSHConnectionCancelled = errors.New("SSH connection cancelled") |
| 338 |
no outgoing calls
no test coverage detected