Sshnpd class abstract

Constructors

Sshnpd.new()

Properties

addSshPublicKeys bool
When true, sshnpd will respond to requests to add public keys to its authorized_keys file. This flag should default to false.
final
atClient ↔ AtClient
The AtClient used to communicate with sshnpd and sshrvd
getter/setter pair
device String
The device name on this host
final
deviceAtsign String
no setter
ephemeralPermissions String
Permissions which are added to the authorized_keys file when adding a newly-generated ephemeral public key. e.g. PermitOpen="host-1:3389",PermitOpen="localhost:80"
final
hashCode int
The hash code for this object.
no setterinherited
homeDirectory String
The home directory on this host
final
initialized bool
true once init has completed
getter/setter pair
localSshdPort int
Port that local sshd is listening on localhost interface Default set to defaultLocalSshdPort
final
logger → AtSignLogger
final
makeDeviceInfoVisible bool
Defaults to false.
final
managerAtsign String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sshAlgorithm SupportedSshAlgorithm
The algorithm to use for ssh encryption Can be one of SupportedSSHAlgorithm.values:
final
sshClient SupportedSshClient
The ssh client to use when doing reverse ssh
final
username String
The user name on this host
final

Methods

init() Future<void>
Must be run after construction, to complete initialization
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<void>
Must be run after init, to start the sshnpd service
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCommandLineArgs(List<String> args, {AtClient? atClient, FutureOr<AtClient> atClientGenerator(SshnpdParams)?, void usageCallback(Object, StackTrace)?}) Future<Sshnpd>