MCPcopy Create free account
hub / github.com/HoneyLLM/cli2ssh / StringifyPublicKey

Function StringifyPublicKey

internal/utils/key.go:9–11  ·  view source on GitHub ↗
(key ssh.PublicKey)

Source from the content-addressed store, hash-verified

7)
8
9func StringifyPublicKey(key ssh.PublicKey) string {
10 return key.Type() + " " + base64.StdEncoding.EncodeToString(key.Marshal())
11}

Callers 2

NewSessionFunction · 0.92
mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected