Versions in this module Expand all Collapse all v0 v0.3.0 May 10, 2023 Changes in this version + var ErrEncryptedKey = errors.New("private key is encrypted") + var ErrNoPEMData = errors.New("no PEM data in key file") + func Shell(opts *stage.SSHOptions) error + type Executor struct + Stderr io.Writer + func NewExecutor(opts *stage.SSHOptions) (*Executor, error) + func (executor *Executor) Close() error + func (executor *Executor) Execute(cmd string) (string, error) + func (executor *Executor) WriteFile(opts *FileOptions) error + type FileOptions struct + Content []byte + Mode os.FileMode + Path string + Reader io.Reader + Size int64 + type KeyPair struct + PrivateKey []byte + PublicKey []byte + func NewKeyPair(path string) (KeyPair, error)