Remote class

Provides remote access methods for posix based systems.

Constructors

Remote()
Factory constructor.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

exec({required String host, required String command, bool agent = true, bool sudo = false, String? password, Progress? progress}) → void
EXPERIMENTAL
execList({required String host, required List<String?> commands, bool agent = true, bool sudo = false, String? password, Progress? progress}) → void
execList runs multiple commands in a single request to the host.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scp({required List<String> from, required String to, String? fromHost, String? toHost, String? fromUser, String? toUser, bool recursive = false, Progress? progress}) → void
Run scp (secure copy) to copy files between remote hosts.
toString() String
A string representation of this object.
inherited

Operators

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