host

package
v0.0.0-...-af13ce4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthorizedKeys

func GetAuthorizedKeys() []*api.AuthorizedKey

GetAuthorizedKeys returns a list of all authorized keys on the system. If the current user is not root, keys are read from the current user's authorized_keys file only. If the current user is root, keys are read from all authorized_keys files from all users including root.

func GetNetworkInfo

func GetNetworkInfo() *api.NetworkInfo

func GetPreferredHostPublicKey

func GetPreferredHostPublicKey() ssh.PublicKey

func GetUnameInfo

func GetUnameInfo() *api.UnameInfo

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL