ssh_valid_hostname
if (!ssh_valid_hostname(tmp_host)) {
int ssh_valid_hostname(const char *);
if (!ssh_valid_hostname(host))