Versions in this module Expand all Collapse all v0 v0.12.0 Sep 12, 2026 Changes in this version + var ErrLineEditorClosed = errors.New("sftp line editor is closed") + type Option func(*Shell) + func WithLogger(l logger.DebugLogger) Option + func WithNoOverwrite(noOverwrite bool) Option + type Shell struct + func New(ctx context.Context, client *sftp.Client, sshClient *ssh.Client, ...) (*Shell, error) + func (s *Shell) Close(ctx context.Context) error + func (s *Shell) Run(ctx context.Context) (runErr error)