Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSH ¶
type SSH struct { // Username is the username provided to sign onto an SSH session. Username string // Password is the username provided to sign onto an SSH session. Password string // Host is the username provided to sign onto an SSH session. Hostname string // contains filtered or unexported fields }
SSH is an object which runs a single SSH session for a given user.
func (*SSH) CreateSession ¶
CreateSession creates all the necessary components to begin an SSH session with a remote server.
func (*SSH) StartSession ¶
StartSession uses the SSH client and session to begin serving input and outputs from the user to the remote server and back.
Click to show internal directories.
Click to hide internal directories.