pub fn get_max_jump_hosts() -> usizeExpand description
Get the maximum number of jump hosts allowed
Reads from BSSH_MAX_JUMP_HOSTS environment variable, with fallback to default.
The value is capped at ABSOLUTE_MAX_JUMP_HOSTS for security.
ยงExamples
# Use default (10)
bssh -J host1,host2,... target
# Set custom limit (e.g., 20)
BSSH_MAX_JUMP_HOSTS=20 bssh -J host1,host2,...,host20 target