Destination Constraint
constructor(fromHostname: String, fromKeyspecs: List<AgentKeySpec>, toUsername: String, toHostname: String, toHostspecs: List<AgentKeySpec>)(source)
Parameters
from Hostname
Hostname of the previous hop, empty string for the origin machine
from Keyspecs
Host key specs of the previous hop, empty for the origin machine
to Username
Permitted destination username; empty string means any user is allowed
to Hostname
Destination hostname
to Hostspecs
Destination host key specs (must be non-empty)