修改已知bug 完善readme文件

This commit is contained in:
alen 2017-06-08 16:52:37 +08:00
parent 47366d7696
commit 98fb65a378
3 changed files with 38 additions and 25 deletions

View file

@ -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