Documentation ¶
Index ¶
- func MakeKeyring(key, agentSock string, useAgent bool) []ssh.Signer
- func SetAgentSock(as string) func(*Options)
- func SetCmd(c string) func(*Options)
- func SetDestination(d string) func(*Options)
- func SetIsRecursive(r bool) func(*Options)
- func SetKey(k string) func(*Options)
- func SetMachines(m []string) func(*Options)
- func SetOp(o string) func(*Options)
- func SetPort(p int) func(*Options)
- func SetSource(s string) func(*Options)
- func SetTimeout(t int) func(*Options)
- func SetUseAgent(u bool) func(*Options)
- func SetUser(u string) func(*Options)
- func SetVerbose(v bool) func(*Options)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeKeyring ¶
MakeKeyring Makes an ssh key ring for authentication
func SetAgentSock ¶
SetAgentSock Sets the ssh agent socket
func SetDestination ¶
SetDestination Sets the destination file/dir for scp
func SetIsRecursive ¶
SetIsRecursive Sets whether we want to a recursive scp
func SetMachines ¶
SetMachines Sets the machines that we are going to run command or copy a file to
func SetUseAgent ¶
SetUseAgent Sets whether we want to use the ssh agent
Types ¶
Click to show internal directories.
Click to hide internal directories.