aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-02-08 09:59:31 +0100
committerGitHub <noreply@github.com>2018-02-08 09:59:31 +0100
commit3a9d5e236ef38854c0e0acc1ba924260060c755a (patch)
tree6611a33b9c8a8da37bd46ff7528325a3e6d3e02f
parent98916b85c6fe08f2be5a235db43957d493ba37b9 (diff)
parentaab2d9b912ad7eed53fabb424fb032e58bb4d2ca (diff)
downloadgo-git-3a9d5e236ef38854c0e0acc1ba924260060c755a.tar.gz
Merge pull request #742 from Labutin/patch-1
Fix mistyping
-rw-r--r--plumbing/transport/ssh/auth_method.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/ssh/auth_method.go b/plumbing/transport/ssh/auth_method.go
index a092b29..0cdf2b7 100644
--- a/plumbing/transport/ssh/auth_method.go
+++ b/plumbing/transport/ssh/auth_method.go
@@ -231,7 +231,7 @@ func (a *PublicKeysCallback) ClientConfig() (*ssh.ClientConfig, error) {
}
// NewKnownHostsCallback returns ssh.HostKeyCallback based on a file based on a
-// know_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT
+// known_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT
//
// If files is empty, the list of files will be read from the SSH_KNOWN_HOSTS
// environment variable, example:
@@ -286,7 +286,7 @@ func filterKnownHostsFiles(files ...string) ([]string, error) {
}
if len(out) == 0 {
- return nil, fmt.Errorf("unable to find any valid know_hosts file, set SSH_KNOWN_HOSTS env variable")
+ return nil, fmt.Errorf("unable to find any valid known_hosts file, set SSH_KNOWN_HOSTS env variable")
}
return out, nil