Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶ added in v1.0.15
type Endpoint struct { ViaTunnel bool Ip string Name string Username string Password string GMRE_Username string GMRE_Password string PrivKeyPath string Vars map[string][]string Port string SshOut io.Reader SshIn io.WriteCloser Timeout int Client *ssh.Client Session *ssh.Session Kind string //Accepted values: BASH, PSS, OSE, PSD, SROS }
func (*Endpoint) Connect ¶ added in v1.0.15
Connect connects to the specified server and opens a session (Filling the Client and Session fields in SshAgent struct).
func (*Endpoint) Disconnect ¶ added in v1.0.15
func (s *Endpoint) Disconnect()
Disconnect closes the ssh sessoin and connection.
Click to show internal directories.
Click to hide internal directories.