MCPcopy
hub / github.com/gliderlabs/ssh / ExampleHostKeyFile

Function ExampleHostKeyFile

example_test.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func ExampleHostKeyFile() {
39 ssh.ListenAndServe(":2222", nil, ssh.HostKeyFile("/path/to/host/key"))
40}

Callers

nothing calls this directly

Calls 2

ListenAndServeFunction · 0.92
HostKeyFileFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…