null when the variable is unset
or empty (so callers can treat "no agent" as a normal case).
SshTransport connectUnixAgent(string path = null, Duration timeout = Duration.zero)Connects to the agent socket named by SSH_AUTH_SOCK.
This connector lives outside the protocol core so the core never opens sockets; tests and applications open the transport and hand it to SshAgentClient.
path | Socket path; defaults to the SSH_AUTH_SOCK environment variable. |
null when the variable is unset
or empty (so callers can treat "no agent" as a normal case).