diff --git a/communicator/ssh/connect.go b/communicator/ssh/connect.go index bee446baa..1a01e024c 100644 --- a/communicator/ssh/connect.go +++ b/communicator/ssh/connect.go @@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) { if tcpConn, ok := c.(*net.TCPConn); ok { tcpConn.SetKeepAlive(true) } + + return c, nil } }