add dynamic detection if private keys id_rsa id_dsa id_dss