mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
@@ -96,6 +96,8 @@ Future<SSHClient> genClient(
|
|||||||
username: alterUser ?? spi.user,
|
username: alterUser ?? spi.user,
|
||||||
onPasswordRequest: () => spi.pwd,
|
onPasswordRequest: () => spi.pwd,
|
||||||
onUserInfoRequest: onKeyboardInteractive,
|
onUserInfoRequest: onKeyboardInteractive,
|
||||||
|
|
||||||
|
/// TODO: verify host key
|
||||||
onVerifyHostKey: (type, fingerprint) => true,
|
onVerifyHostKey: (type, fingerprint) => true,
|
||||||
// printDebug: debugPrint,
|
// printDebug: debugPrint,
|
||||||
// printTrace: debugPrint,
|
// printTrace: debugPrint,
|
||||||
@@ -110,6 +112,8 @@ Future<SSHClient> genClient(
|
|||||||
// Must use [compute] here, instead of [Computer.shared.start]
|
// Must use [compute] here, instead of [Computer.shared.start]
|
||||||
identities: await compute(loadIndentity, privateKey),
|
identities: await compute(loadIndentity, privateKey),
|
||||||
onUserInfoRequest: onKeyboardInteractive,
|
onUserInfoRequest: onKeyboardInteractive,
|
||||||
|
|
||||||
|
/// TODO: verify host key
|
||||||
onVerifyHostKey: (type, fingerprint) => true,
|
onVerifyHostKey: (type, fingerprint) => true,
|
||||||
// printDebug: debugPrint,
|
// printDebug: debugPrint,
|
||||||
// printTrace: debugPrint,
|
// printTrace: debugPrint,
|
||||||
|
|||||||
@@ -1862,8 +1862,8 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: "v4.0.12"
|
ref: "v4.0.13"
|
||||||
resolved-ref: "7112ec21b752b92c2ee208e1925e8f291f15f1ee"
|
resolved-ref: "6343b0e5f744d2c11090d34690ad5049ebbc599b"
|
||||||
url: "https://github.com/lollipopkit/xterm.dart"
|
url: "https://github.com/lollipopkit/xterm.dart"
|
||||||
source: git
|
source: git
|
||||||
version: "4.0.0"
|
version: "4.0.0"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ dependencies:
|
|||||||
xterm:
|
xterm:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/lollipopkit/xterm.dart
|
url: https://github.com/lollipopkit/xterm.dart
|
||||||
ref: v4.0.12
|
ref: v4.0.13
|
||||||
computer:
|
computer:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/lollipopkit/dart_computer
|
url: https://github.com/lollipopkit/dart_computer
|
||||||
|
|||||||
Reference in New Issue
Block a user