DVInfraSsh class final
How to reach a host over SSH, and which key it must present.
Not in the specification's example, which has no way to say which host key is the right one. Without that the first connection trusts whatever answers, so the manifest names a known_hosts file checked in beside it and nothing connects to a host that file does not pin.
Constructors
- DVInfraSsh({String user = 'root', int port = 22, String knownHosts = 'infra/known_hosts'})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- knownHosts → String
-
Relative to the project root.
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited