waveterm/pkg/remote/sshagent_unix.go
Andy_Allan f622c658b0
feat: implement SSH agent for Windows with tests (#2644)
#2643 

## Implementation
1. Add platform-aware identity-agent dialing: on Window, default to `//./pipe/openssh-ssh-agent`.
2. Keep Unix agent dialing via Unix sockets; unify agent resolution
across platforms.
3. Add cross-platform unit tests covering dialer selection and failure
paths.
2025-12-15 11:05:11 -08:00

10 lines
220 B
Go

//go:build !windows
package remote
import "net"
// dialIdentityAgent connects to a Unix domain socket identity agent.
func dialIdentityAgent(agentPath string) (net.Conn, error) {
return net.Dial("unix", agentPath)
}