ing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user