WebServerConnection class

Create a SSH connection to a web server.

Constructors

WebServerConnection({required String host, int? port, required String sshUser, String? sshPrivateKeyBase64, String? sshPrivateKeyPassphrase})

Properties

ctlFolder → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
host → String
final
port → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sshConfigFolder → String
final
sshControlArgs ↔ List<String>
The control params using a unified ssh control master
getter/setter pair
sshPrivateKeyBase64 → String?
final
sshPrivateKeyPassphrase → String?
final
sshUser → String
final

Methods

dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(String cmd) → Future<void>
toString() → String
A string representation of this object.
inherited
upload({bool isDryRun = false, required String sourcePath, required String webServerPath}) → Future<void>

Operators

operator ==(Object other) → bool
The equality operator.
inherited