dartssh2 1.1.0-pre
dartssh2: ^1.1.0-pre copied to clipboard
A pure dart SSH implementation based on dartssh with bug fixes, up-to-date dependencies and sound null safety.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartssh2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dartssh2: ^1.1.0-pre
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartssh2/agent.dart';
import 'package:dartssh2/bigint.dart';
import 'package:dartssh2/client.dart';
import 'package:dartssh2/http.dart';
import 'package:dartssh2/http_html.dart';
import 'package:dartssh2/http_io.dart';
import 'package:dartssh2/identity.dart';
import 'package:dartssh2/kex.dart';
import 'package:dartssh2/pem.dart';
import 'package:dartssh2/protocol.dart';
import 'package:dartssh2/serializable.dart';
import 'package:dartssh2/server.dart';
import 'package:dartssh2/socket.dart';
import 'package:dartssh2/socket_html.dart';
import 'package:dartssh2/socket_io.dart';
import 'package:dartssh2/ssh.dart';
import 'package:dartssh2/transport.dart';
import 'package:dartssh2/websocket_html.dart';
import 'package:dartssh2/websocket_io.dart';
import 'package:dartssh2/zlib.dart';