declare -a commands=() cmdline=() required_objects=() good=() bad=()
i=0
commands[$i]="help"
-cmdline[$i]="help"
-good[$i]='help ----'
+cmdline[$i]="help -l"
+good[$i]='help \{1,\}----'
let i++
commands[$i]="init"
missing_executables="$result"
if [[ -z "$missing_objects" && -z "$missing_executables" ]]; then
- ssh-keygen -q -t rsa -b 2048 -N "" -f $privkey
+ ssh-keygen -q -t rsa -b 2048 -N "" -m PEM -f $privkey
key_gen_result=$?
read &>/dev/null < /dev/tcp/localhost/$port