MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / GetHostKey

Method GetHostKey

internal/sshserver/TestServer.go:10–10  ·  view source on GitHub ↗

GetHostKey returns the hosts private key in PEM format. This can be used to extract the public key.

()

Source from the content-addressed store, hash-verified

8type TestServer interface {
9 // GetHostKey returns the hosts private key in PEM format. This can be used to extract the public key.
10 GetHostKey() string
11 // Start starts the server in the background.
12 Start()
13 // Stop stops the server running in the background.

Callers 11

createTestServerFunction · 0.95
TestAuthGSSAPIFunction · 0.95
TestKeepAliveFunction · 0.95
TestProperShutdownFunction · 0.95

Implementers 1

testServerImplinternal/sshserver/testServerImpl.go

Calls

no outgoing calls

Tested by 6

createTestServerFunction · 0.76
TestAuthGSSAPIFunction · 0.76
TestKeepAliveFunction · 0.76
TestProperShutdownFunction · 0.76