code: func connectToSSHAgent() agent.Agent {
  	socketPath := os.Getenv(teleport.SSHAuthSock)
  	conn, err := agentconn.Dial(socketPath)
  	if err != nil {
  		log.Errorf("[KEY AGENT] Unable to connect to SSH agent on socket: %q.", socketPath)
  		return nil
  	}
  
  	log.Infof("[KEY AGENT] Connected to the system agent: %q", socketPath)
  	return agent.NewClient(conn)
  }
docs: // connectToSSHAgent connects to the local SSH agent and returns a agent.Agent.