Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitStatus ¶
Types ¶
type Option ¶
type Option func(*SSHTerminal)
func SetExitMessage ¶
func SetInitCmds ¶
func SetJumpHost ¶ added in v1.0.9
func SetKeyPath ¶
func SetProxyCommand ¶ added in v1.0.10
type SSHTerminal ¶
type SSHTerminal struct {
// contains filtered or unexported fields
}
func New ¶
func New(ip, user, pass string, options ...Option) *SSHTerminal
func (*SSHTerminal) Close ¶
func (t *SSHTerminal) Close() error
func (*SSHTerminal) Run ¶
func (t *SSHTerminal) Run(cmd string) error
func (*SSHTerminal) Start ¶
func (t *SSHTerminal) Start() error
Click to show internal directories.
Click to hide internal directories.