Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSHExecutor ¶
Types ¶
type Client ¶
type Config ¶
type Config struct {
User string
Host string
Port string
Key string
Password string
StrictHostKey bool // Enable strict host key checking (defaults to true)
KnownHostFile string // Path to known_hosts file (defaults to ~/.ssh/known_hosts)
Shell string // Shell for remote command execution (e.g., "/bin/bash")
ShellArgs []string // Additional shell arguments (e.g., -e, -o pipefail)
}
Config represents SSH connection info
Click to show internal directories.
Click to hide internal directories.