diff options
author | Dmitry Labutin <dmitry@labutin.net> | 2018-02-07 14:40:11 -0800 |
---|---|---|
committer | Dmitry Labutin <dlabutin@medallia.com> | 2018-02-07 14:46:16 -0800 |
commit | aab2d9b912ad7eed53fabb424fb032e58bb4d2ca (patch) | |
tree | 6611a33b9c8a8da37bd46ff7528325a3e6d3e02f /plumbing/transport/ssh | |
parent | 98916b85c6fe08f2be5a235db43957d493ba37b9 (diff) | |
download | go-git-aab2d9b912ad7eed53fabb424fb032e58bb4d2ca.tar.gz |
Fix mistyping
Signed-off-by: Dmitry Labutin <dmitry@labutin.com>
Diffstat (limited to 'plumbing/transport/ssh')
-rw-r--r-- | plumbing/transport/ssh/auth_method.go | 4 |
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 |