Update logger info to show mapped user and destination (#51)
This commit is contained in:
parent
a1a4008fff
commit
a3c9a4b32a
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ func (p *plugin) findUpstream(conn ssh.ConnMetadata, challengeContext ssh.Additi
|
|||
|
||||
if matched {
|
||||
|
||||
p.logger.Printf("mapping [%v] to [%v]", user, pipe.Username)
|
||||
p.logger.Printf("mapping [%v] to [%v@%v]", user, pipe.Authmap.MappedUsername, pipe.UpstreamHost)
|
||||
|
||||
c, err := upstream.DialForSSH(pipe.UpstreamHost)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue