DialAgent returns an ssh.Agent client. It uses the SSH_AUTH_SOCK to connect to the agent.
()
| 90 | // DialAgent returns an ssh.Agent client. It uses the SSH_AUTH_SOCK to connect |
| 91 | // to the agent. |
| 92 | func DialAgent() (*Agent, error) { |
| 93 | return dialAgent() |
| 94 | } |
| 95 | |
| 96 | // Close closes the connection to the agent. |
| 97 | func (a *Agent) Close() error { |
no test coverage detected
searching dependent graphs…