Documentation ¶ Index ¶ type Pubkey func NewKey() (*Pubkey, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Pubkey ¶ type Pubkey struct { Name string PublicKey string FingerprintMD5 string } Pubkey is only used to create temporary key pairs, thus we do not need the Private key The reason for not hardcoding a random public key is that it would look like a backdoor. func NewKey ¶ func NewKey() (*Pubkey, error) Source Files ¶ View all Source files ssh.go Click to show internal directories. Click to hide internal directories.