-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
On darwin, this is set by default.. may be wise to retry without inheriting this env on darwin on all ssh ops such as gather bootstrap.
installer/pkg/gather/ssh/agent.go
Lines 15 to 25 in 08aa270
| func getAgent(keys []string) (agent.Agent, string, error) { | |
| // Attempt to use the existing SSH agent if it's configured or use the default ssh pair generated. | |
| if authSock := os.Getenv("SSH_AUTH_SOCK"); authSock != "" { | |
| logrus.Debugf("Using SSH_AUTH_SOCK %s to connect to an existing agent", authSock) | |
| if conn, err := net.Dial("unix", authSock); err == nil { | |
| return agent.NewClient(conn), "agent", nil | |
| } | |
| } | |
| return newAgent(keys) | |
| } |
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.