AI
AIGIT · AI 工具站
aigit.cc
首页
精品推荐
AI成品工具
提示词
返回 DeepSeek-Reasonix
agent_unix.go
根目录
/
internal
/
remote
/
agent_unix.go
1
//go:build !windows
2
3
package remote
4
5
import "net"
6
7
// dialAgent connects to the ssh-agent socket named by SSH_AUTH_SOCK.
8
func dialAgent(sock string) (net.Conn, error) {
9
return net.Dial("unix", sock)
10
}
11
11 lines
GO