aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'session.go')
-rw-r--r--session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.go b/session.go
index 50356a8..9f33094 100644
--- a/session.go
+++ b/session.go
@@ -615,7 +615,7 @@ func (ses *Session) initSSHClient(req *ExecRequest, sshSection *config.Section)
lastIdentFile = sshSection.IdentityFile[len(sshSection.IdentityFile)-1]
}
- ses.sshc, err = newSshClient(req, sshSection, ses.dirTmp)
+ ses.sshc, err = newSSHClient(req, sshSection, ses.dirTmp)
if err != nil {
return fmt.Errorf(`%s: %w`, logp, err)
}