Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remote ¶
type Remote struct { Config ssh.ClientConfig Client *ssh.Client // contains filtered or unexported fields }
func NewRemoteConnection ¶
func (*Remote) MakeNewConnection ¶
MakeNewConnection initiates new ssh connection to given host
func (*Remote) RunCommand ¶
RunCommand runs a single command over a ssh connection
func (*Remote) RunCommands ¶
RunCommands runs mutiple commands in ssh connection FIX: Need to be re looked at
func (*Remote) SpawnShell ¶
SpawnShell spwans shell on remote machine Ctrl-C exits the shell
Click to show internal directories.
Click to hide internal directories.