Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultKeyAlgorithms ¶
func DefaultKeyAlgorithms() []string
DefaultKeyAlgorithms returns the default ssh key algorithms.
func GetKeys ¶
func GetKeys(ctx context.Context, host string, concurrentWorkers int, algorithms ...string) (map[string]ssh.PublicKey, error)
GetKeys gets the public keys for a host. Specify the amount of concurrentWorkers and the algorithms that should be used to fetch the keys. If unsure use DefaultKeyAlgorithms.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.