diff --git a/ssh/tcpip.go b/ssh/tcpip.go index ef5059a..93d844f 100644 --- a/ssh/tcpip.go +++ b/ssh/tcpip.go @@ -459,7 +459,7 @@ func (c *Client) dial(laddr string, lport int, raddr string, rport int) (Channel return nil, err } go DiscardRequests(in) - return ch, err + return ch, nil } type tcpChan struct {