Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectSshAgent ¶
func ConnectSshAgent() (ag sshlib.AgentInterface)
func CreateAuthMethodAgent ¶
func CreateAuthMethodAgent(con *sshlib.Connect) (auth ssh.AuthMethod, err error)
CreateAuthMethodAgent returns ssh.AuthMethod from con.Agent. case con.Agent is nil then ConnectSshAgent to it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.