This commit is contained in:
crusader
2018-04-26 17:50:26 +09:00
parent 3efa746c76
commit 042e4ac37b
51 changed files with 151 additions and 151 deletions

View File

@@ -8,7 +8,7 @@ import (
"git.loafle.net/commons_go/logging"
cuej "git.loafle.net/commons_go/util/encoding/json"
ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model"
ocmsc "git.loafle.net/overflow/commons-go/model/sensorconfig"
"golang.org/x/crypto/ssh"
)
@@ -88,7 +88,7 @@ func parsePrivateKey(keyPath, pw string) (ssh.Signer, error) {
return ssh.ParsePrivateKeyWithPassphrase(buff, []byte(pw))
}
func New(target *ocsm.Target) (*SSHClient, error) {
func New(target *ocmsc.Target) (*SSHClient, error) {
connection := target.Connection
auth := target.Auth