MCPcopy Create free account
hub / github.com/Huawei/containerops / PublicKeyFile

Function PublicKeyFile

common/utils/ssh.go:33–44  ·  view source on GitHub ↗

PublicKeyFile parse private key file, and return ssh.AuthMethod.

(file string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SSHCommandFunction · 0.85
SSHScpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected