Sshd: Use Build.opt_list
Sshd: support doseol and standardize code