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

Method StringList

config/ssh.go:183–189  ·  view source on GitHub ↗

StringList returns a list of key exchange algorithms as a list.

()

Source from the content-addressed store, hash-verified

181
182// StringList returns a list of key exchange algorithms as a list.
183func (k SSHKexList) StringList() []string {
184 result := make([]string, len(k))
185 for i, kex := range k {
186 result[i] = kex.String()
187 }
188 return result
189}
190
191var supportedHostKeyAlgos = []stringer{
192 SSHKeyAlgoSSHRSACertv01, SSHKeyAlgoSSHDSSCertv01, SSHKeyAlgoECDSASHA2NISTp256Certv01,

Callers 2

createConfigurationMethod · 0.45
createClientConfigMethod · 0.45

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected