extra key exchange no work. #203
-
p, err := platform.NewPlatform(
driverPlatform,
connectionInfo.ManagementIp,
options.WithAuthNoStrictKey(),
options.WithAuthPassword(connectionInfo.Password),
options.WithAuthUsername(connectionInfo.Username),
options.WithPort(connectionInfo.Port),
options.WithTimeoutOps(timeout),
options.WithStandardTransportExtraCiphers([]string{
"aes128-ctr", "aes192-ctr",
"aes256-ctr", "[email protected]",
"[email protected]", "[email protected]",
"arcfour256", "arcfour128", "aes128-cbc",
"3des-cbc", "aes192-cbc", "aes256-cbc",
}),
options.WithStandardTransportExtraKexs([]string{
"diffie-hellman-group14-sha1",
"diffie-hellman-group-exchange-sha1"}),
) I got some old devices which need support |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
or if there's a option to make |
Beta Was this translation helpful? Give feedback.
-
It's a little confusing, but I think you re looking for example in the tests here that should be relevant |
Beta Was this translation helpful? Give feedback.
It's a little confusing, but I think you re looking for
WithSystemTransportOptions
-- tl;dr "system" == /bin/ssh, "standard" == crypto/ssh. the "system" was original name in python version, then when we added the crypto/ssh thing we called it "standard" because standard library stuff.example in the tests here that should be relevant