mirror of
https://github.com/shanghai-edu/multissh.git
synced 2025-12-16 21:37:50 +00:00
修改已知bug 完善readme文件
This commit is contained in:
parent
47366d7696
commit
98fb65a378
3 changed files with 38 additions and 25 deletions
|
|
@ -5,6 +5,7 @@ import (
|
|||
"fmt"
|
||||
"net"
|
||||
//"os"
|
||||
|
||||
"time"
|
||||
|
||||
"golang.org/x/crypto/ssh"
|
||||
|
|
@ -78,6 +79,7 @@ func dossh(username, password, ip string, cmdlist []string, port int, ch chan st
|
|||
|
||||
}
|
||||
session.Wait()
|
||||
|
||||
ch <- (outbt.String() + errbt.String())
|
||||
//<-chLimit
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue