Skip to content

Commit

Permalink
AF-60 Quick fix for proxy logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sparshev committed Jan 25, 2025
1 parent e7205f5 commit a82263a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/proxyssh/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func (p *proxySSH) publicKeyCallback(incomingConn ssh.ConnMetadata, key ssh.Publ

ra, err := p.fish.ResourceAccessSingleUseKey(fishUser.Name, stringKey)
if err != nil {
log.Errorf("PROXYSSH: %s: Invalid access for user %q: %v", incomingConn.RemoteAddr(), user, err)
log.Errorf("PROXYSSH: %s: Invalid access for user %q: %v", incomingConn.RemoteAddr(), fishUser.Name, err)
return nil, fmt.Errorf("Invalid access")
}

Expand Down

0 comments on commit a82263a

Please sign in to comment.