ProxyConnection class

Instructions for how to connect to a remote endpoint via a bastion host.

Constructors

ProxyConnection({Input<String>? agentSocketPath, Input<int>? dialErrorLimit, required Input<String> host, Input<String>? hostKey, Input<String>? password, Input<int>? perDialTimeout, Input<double>? port, Input<String>? privateKey, Input<String>? privateKeyPassword, Input<String>? user})
Creates a new ProxyConnection. agentSocketPath SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present. dialErrorLimit Max allowed errors on trying to dial the remote host. -1 set count to unlimited. Default value is 10. host The address of the bastion host to connect to. hostKey The expected host key to verify the server's identity. If not provided, the host key will be ignored. password The password we should use for the connection to the bastion host. perDialTimeout Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds. port The port of the bastion host to connect to. privateKey The contents of an SSH key to use for the connection. This takes preference over the password if provided. privateKeyPassword The password to use in case the private key is encrypted. user The user that we should use for the connection to the bastion host.
const
ProxyConnection.fromMap(Map<String, dynamic> map)
factory

Properties

agentSocketPath → Input<String>?
SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
final
dialErrorLimit → Input<int>?
Max allowed errors on trying to dial the remote host. -1 set count to unlimited. Default value is 10.
final
hashCode int
The hash code for this object.
no setterinherited
host → Input<String>
The address of the bastion host to connect to.
final
hostKey → Input<String>?
The expected host key to verify the server's identity. If not provided, the host key will be ignored.
final
password → Input<String>?
The password we should use for the connection to the bastion host.
final
perDialTimeout → Input<int>?
Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds.
final
port → Input<double>?
The port of the bastion host to connect to.
final
privateKey → Input<String>?
The contents of an SSH key to use for the connection. This takes preference over the password if provided.
final
privateKeyPassword → Input<String>?
The password to use in case the private key is encrypted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → Input<String>?
The user that we should use for the connection to the bastion host.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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