Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHAdd ¶
SSHAdd runs ssh-add in the specified directory to connect to the agent sockname to add the specified keys.
func StartPreconfiguredAgent ¶
StartPreconfiguredAgent starts an ssh agent and preconfigures it with the supplied keys. It returns a cleanup function, the socket name for the agent, the directory that the keys are created in and an error.
func StartSSHAgent ¶
StartSSHAgent starts an ssh agent and returns a cleanup function and the socket name to use for connecting to the agent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.