aboutsummaryrefslogtreecommitdiff
path: root/ssh_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_client.go')
-rw-r--r--ssh_client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh_client.go b/ssh_client.go
index 519a19c..766e40b 100644
--- a/ssh_client.go
+++ b/ssh_client.go
@@ -30,12 +30,12 @@ type sshClient struct {
dirTmp string
}
-// newSshClient create new clients using the SSH config section.
+// newSSHClient create new clients using the SSH config section.
//
// Once connection established, the client create new temporary directory on
// server at dirTmp for sudoGet or sudoPut operations.
-func newSshClient(req *ExecRequest, section *config.Section, dirTmp string) (sshc *sshClient, err error) {
- var logp = `newSshClient`
+func newSSHClient(req *ExecRequest, section *config.Section, dirTmp string) (sshc *sshClient, err error) {
+ var logp = `newSSHClient`
req.mlog.Outf(`--- SSH connection: %s@%s:%s`,
section.User(), section.Hostname(), section.Port())