Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit aab2d9b

Browse files
LabutinDmitry Labutin
authored andcommitted
Fix mistyping
Signed-off-by: Dmitry Labutin <[email protected]>
1 parent 98916b8 commit aab2d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plumbing/transport/ssh/auth_method.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func (a *PublicKeysCallback) ClientConfig() (*ssh.ClientConfig, error) {
231231
}
232232

233233
// NewKnownHostsCallback returns ssh.HostKeyCallback based on a file based on a
234-
// know_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT
234+
// known_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT
235235
//
236236
// If files is empty, the list of files will be read from the SSH_KNOWN_HOSTS
237237
// environment variable, example:
@@ -286,7 +286,7 @@ func filterKnownHostsFiles(files ...string) ([]string, error) {
286286
}
287287

288288
if len(out) == 0 {
289-
return nil, fmt.Errorf("unable to find any valid know_hosts file, set SSH_KNOWN_HOSTS env variable")
289+
return nil, fmt.Errorf("unable to find any valid known_hosts file, set SSH_KNOWN_HOSTS env variable")
290290
}
291291

292292
return out, nil

0 commit comments

Comments
 (0)