diff --git a/ssh.go b/ssh.go index 74c0d88e..b602a700 100644 --- a/ssh.go +++ b/ssh.go @@ -346,7 +346,7 @@ func (c *SSH) hostkeyCallback() (ssh.HostKeyCallback, error) { return knownhostsCallback(defaultPath, permissive, hash) } -func (c *SSH) clientConfig() (*ssh.ClientConfig, error) { +func (c *SSH) clientConfig() (*ssh.ClientConfig, error) { //nolint:cyclop config := &ssh.ClientConfig{ User: c.User, }