Browse Source

Merge pull request #2432 from nd/develop

Fix #2431 - handle requests waiting for reply
tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
2682a01dc1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/ssh/ssh.go

+ 1
- 0
modules/ssh/ssh.go View File

@@ -91,6 +91,7 @@ func handleServerConn(keyID string, chans <-chan ssh.NewChannel) {
return return
} }


req.Reply(true, nil);
go io.Copy(input, ch) go io.Copy(input, ch)
io.Copy(ch, stdout) io.Copy(ch, stdout)
io.Copy(ch.Stderr(), stderr) io.Copy(ch.Stderr(), stderr)


Loading…
Cancel
Save