Documentation
¶
Overview ¶
Package sshauto runs `ssh` inside a pseudo-terminal and auto-types a saved password the first time the remote asks for one, then hands the session over to the real terminal for fully interactive use. It exists so stool can auto-login with a saved password without depending on the external `sshpass` binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Args []string // ssh argv, e.g. from sshlaunch.Args
Password string
// contains filtered or unexported fields
}
Cmd implements tea.ExecCommand (Run/SetStdin/SetStdout/SetStderr), so it can be passed to tea.Exec the same way an *exec.Cmd is passed to tea.ExecProcess.
Click to show internal directories.
Click to hide internal directories.