We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc63c3 commit c0a7d75Copy full SHA for c0a7d75
agent/agent.go
@@ -380,7 +380,7 @@ func (a *agent) handleSSHSession(session ssh.Session) error {
380
if ssh.AgentRequested(session) {
381
l, err := ssh.NewAgentListener()
382
if err != nil {
383
- return xerrors.Errorf("new agent listener:", err)
+ return xerrors.Errorf("new agent listener: %w", err)
384
}
385
defer l.Close()
386
go ssh.ForwardAgentConnections(l, session)
0 commit comments