diff --git a/ssh/example_test.go b/ssh/example_test.go index b910c7b..4fe26b0 100644 --- a/ssh/example_test.go +++ b/ssh/example_test.go @@ -140,7 +140,7 @@ func ExampleNewServerConn() { } } -func ExampleHostKeyCheck() { +func ExampleClientConfig_HostKeyCallback() { // Every client must provide a host key check. Here is a // simple-minded parse of OpenSSH's known_hosts file host := "hostname"