Documentation ¶
Index ¶
Constants ¶
View Source
const PrivateKeyFileName = "id_ed25519"
View Source
const PublicKeyFileName = "id_ed25519.pub"
Variables ¶
View Source
var ( ErrCannotCreateSSHFolder = errors.New("Cannot create .ssh folder in home folder") ErrCannotChangePermission = errors.New("Cannot change permission for the file or directory") )
Functions ¶
func AddToAuthorizedKeys ¶
Types ¶
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func (SSH) GetPrivateKeyPath ¶
func (SSH) GetPublicKey ¶
func (SSH) GetPublicKeyPath ¶
Click to show internal directories.
Click to hide internal directories.