Refs #3100: Corrected the OpenSSH server Technique: Duplicated codes removal, DRYification, copyrights updates