Fix ssh daemon on windows

This commit is contained in:
Bernd Schoolmann 2024-02-04 00:24:40 +01:00
parent 1e24bce546
commit 599cc1003f
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
package ssh
import (
"github.com/Microsoft/go-winio"
"github.com/quexten/goldwarden/agent/sockets"
"golang.org/x/crypto/ssh/agent"
)
@ -15,7 +16,7 @@ func (v SSHAgentServer) Serve() {
log.Fatal("listen error:", err)
}
defer l.Close()
log.Printf("Server listening on named pipe %v\n", pipePath)
log.Info("Server listening on named pipe %v\n", pipePath)
for {
conn, err := l.Accept()