Versions in this module Expand all Collapse all v1 v1.0.0 Dec 12, 2025 Changes in this version + var ErrKeyAlreadyExists = errors.New("SSH key already exists") + type Context struct + func NewContextForTests(configDir, keygenExe string) Context + func (c *Context) GenerateSSHKey(keyName string, passphrase string) (*KeyPair, error) + func (c *Context) HasKeygen() bool + func (c *Context) LocalPublicKeys() ([]string, error) + func (c *Context) SshDir() (string, error) + type KeyPair struct + PrivateKeyPath string + PublicKeyPath string