mirror of
https://github.com/shanghai-edu/multissh.git
synced 2025-12-16 05:17:52 +00:00
0.2.3
This commit is contained in:
parent
de1b1f2b59
commit
e704825aa9
5 changed files with 14 additions and 7 deletions
|
|
@ -3,7 +3,7 @@ package funcs
|
|||
import (
|
||||
"bytes"
|
||||
// "os"
|
||||
//"strings"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
@ -16,7 +16,6 @@ const (
|
|||
key = "../server.key"
|
||||
)
|
||||
|
||||
/*
|
||||
func Test_SSH(t *testing.T) {
|
||||
var cipherList []string
|
||||
session, err := connect(username, password, ip, key, port, cipherList)
|
||||
|
|
@ -51,8 +50,8 @@ func Test_SSH(t *testing.T) {
|
|||
t.Log((outbt.String() + errbt.String()))
|
||||
return
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
func Test_SSH_run(t *testing.T) {
|
||||
var cipherList []string
|
||||
session, err := connect(username, password, ip, key, port, cipherList)
|
||||
|
|
@ -77,3 +76,4 @@ func Test_SSH_run(t *testing.T) {
|
|||
|
||||
return
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue