Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

issue ssh to gitolite #930

Open
Open
@summer-ji-eng

Description

@summer-ji-eng

Our private git repository is hosted in gitolite. All users ssh authentication in prod to get ssh cert which is stored in ssh-agent. go-git is not allow customized ssh config. If I could do something like

agentSock, err := net.Dial("unix", os.Getenv("SSH_AUTH_SOCK"))
if err != nil { panic }
a := agent.NewClient(agentSock)
cfg := &ssh.ClientConfig{
  ...
  Auth: ssh.NewPublicKeysCallback(a.Signers()),
}```

Would you guys will support for this situation? 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions