Versions in this module Expand all Collapse all v0 v0.9.0 Feb 22, 2026 v0.8.0 Feb 15, 2026 Changes in this version + type ConnectionRetrySpec struct + Enabled bool + IntervalSeconds int + Retries int + type ConnectionRetryState struct + Attempt int + IntervalSeconds int + MaxRetries int + type ExecuteSSHContext struct type ExecutionMetadata + Attempt int + Authentication AuthSpec + Command string + ConnectionRetry *ConnectionRetrySpec + Host string + IntervalSeconds int + MaxRetries int + Port int + Timeout int + User string + WorkingDirectory string type Spec + ConnectionRetry *ConnectionRetrySpec v0.7.0 Feb 8, 2026 Changes in this version + const AuthMethodPassword + const AuthMethodSSHKey + type AuthSpec struct + Method string + Passphrase SecretKeyRef + Password SecretKeyRef + PrivateKey SecretKeyRef + type Client struct + Host string + Passphrase []byte + Password []byte + Port int + PrivateKey []byte + Username string + func NewClientKey(host string, port int, username string, privateKey, passphrase []byte) *Client + func NewClientPassword(host string, port int, username string, password []byte) *Client + func (c *Client) Close() error + func (c *Client) Connect() (*ssh.Client, error) + func (c *Client) ExecuteCommand(command string, timeout time.Duration) (*CommandResult, error) + type CommandResult struct + ExitCode int + Stderr string + Stdout string + type ExecutionMetadata struct + Result *CommandResult + type SSHCommand struct + func (c *SSHCommand) Actions() []core.Action + func (c *SSHCommand) Cancel(ctx core.ExecutionContext) error + func (c *SSHCommand) Cleanup(ctx core.SetupContext) error + func (c *SSHCommand) Color() string + func (c *SSHCommand) Configuration() []configuration.Field + func (c *SSHCommand) Description() string + func (c *SSHCommand) Documentation() string + func (c *SSHCommand) ExampleOutput() map[string]any + func (c *SSHCommand) Execute(ctx core.ExecutionContext) error + func (c *SSHCommand) HandleAction(ctx core.ActionContext) error + func (c *SSHCommand) HandleWebhook(ctx core.WebhookRequestContext) (int, error) + func (c *SSHCommand) Icon() string + func (c *SSHCommand) Label() string + func (c *SSHCommand) Name() string + func (c *SSHCommand) OutputChannels(configuration any) []core.OutputChannel + func (c *SSHCommand) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error) + func (c *SSHCommand) Setup(ctx core.SetupContext) error + type SecretKeyRef struct + Key string + Secret string + func (r SecretKeyRef) IsSet() bool + type Spec struct + Authentication AuthSpec + Command string + Host string + Port int + Timeout int + User string + WorkingDirectory string