Lines Matching refs:options
291 add_local_forward(Options *options, const struct Forward *newfwd) in add_local_forward() argument
300 options->local_forwards = xreallocarray(options->local_forwards, in add_local_forward()
301 options->num_local_forwards + 1, in add_local_forward()
302 sizeof(*options->local_forwards)); in add_local_forward()
303 fwd = &options->local_forwards[options->num_local_forwards++]; in add_local_forward()
319 add_remote_forward(Options *options, const struct Forward *newfwd) in add_remote_forward() argument
323 options->remote_forwards = xreallocarray(options->remote_forwards, in add_remote_forward()
324 options->num_remote_forwards + 1, in add_remote_forward()
325 sizeof(*options->remote_forwards)); in add_remote_forward()
326 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward()
339 clear_forwardings(Options *options) in clear_forwardings() argument
343 for (i = 0; i < options->num_local_forwards; i++) { in clear_forwardings()
344 free(options->local_forwards[i].listen_host); in clear_forwardings()
345 free(options->local_forwards[i].listen_path); in clear_forwardings()
346 free(options->local_forwards[i].connect_host); in clear_forwardings()
347 free(options->local_forwards[i].connect_path); in clear_forwardings()
349 if (options->num_local_forwards > 0) { in clear_forwardings()
350 free(options->local_forwards); in clear_forwardings()
351 options->local_forwards = NULL; in clear_forwardings()
353 options->num_local_forwards = 0; in clear_forwardings()
354 for (i = 0; i < options->num_remote_forwards; i++) { in clear_forwardings()
355 free(options->remote_forwards[i].listen_host); in clear_forwardings()
356 free(options->remote_forwards[i].listen_path); in clear_forwardings()
357 free(options->remote_forwards[i].connect_host); in clear_forwardings()
358 free(options->remote_forwards[i].connect_path); in clear_forwardings()
360 if (options->num_remote_forwards > 0) { in clear_forwardings()
361 free(options->remote_forwards); in clear_forwardings()
362 options->remote_forwards = NULL; in clear_forwardings()
364 options->num_remote_forwards = 0; in clear_forwardings()
365 options->tun_open = SSH_TUNMODE_NO; in clear_forwardings()
369 add_identity_file(Options *options, const char *dir, const char *filename, in add_identity_file() argument
375 if (options->num_identity_files >= SSH_MAX_IDENTITY_FILES) in add_identity_file()
385 for (i = 0; i < options->num_identity_files; i++) { in add_identity_file()
386 if (options->identity_file_userprovided[i] == userprovided && in add_identity_file()
387 strcmp(options->identity_files[i], path) == 0) { in add_identity_file()
394 options->identity_file_userprovided[options->num_identity_files] = in add_identity_file()
396 options->identity_files[options->num_identity_files++] = path; in add_identity_file()
490 match_cfg_line(Options *options, char **condition, struct passwd *pw, in match_cfg_line() argument
503 port = options->port <= 0 ? default_ssh_port() : options->port; in match_cfg_line()
504 ruser = options->user == NULL ? pw->pw_name : options->user; in match_cfg_line()
505 if (options->hostname != NULL) { in match_cfg_line()
507 host = percent_expand(options->hostname, in match_cfg_line()
745 process_config_line(Options *options, struct passwd *pw, const char *host, in process_config_line() argument
787 options->ignored_unknown); in process_config_line()
799 intptr = &options->connection_timeout; in process_config_line()
815 intptr = &options->forward_agent; in process_config_line()
838 intptr = &options->forward_x11; in process_config_line()
842 intptr = &options->forward_x11_trusted; in process_config_line()
846 intptr = &options->forward_x11_timeout; in process_config_line()
850 intptr = &options->fwd_opts.gateway_ports; in process_config_line()
854 intptr = &options->exit_on_forward_failure; in process_config_line()
858 intptr = &options->use_privileged_port; in process_config_line()
862 intptr = &options->password_authentication; in process_config_line()
866 intptr = &options->kbd_interactive_authentication; in process_config_line()
870 charptr = &options->kbd_interactive_devices; in process_config_line()
874 intptr = &options->pubkey_authentication; in process_config_line()
878 intptr = &options->rsa_authentication; in process_config_line()
882 intptr = &options->rhosts_rsa_authentication; in process_config_line()
886 intptr = &options->hostbased_authentication; in process_config_line()
890 intptr = &options->challenge_response_authentication; in process_config_line()
894 intptr = &options->gss_authentication; in process_config_line()
898 intptr = &options->gss_deleg_creds; in process_config_line()
902 intptr = &options->batch_mode; in process_config_line()
906 intptr = &options->check_host_ip; in process_config_line()
910 intptr = &options->verify_host_key_dns; in process_config_line()
915 intptr = &options->strict_host_key_checking; in process_config_line()
920 intptr = &options->compression; in process_config_line()
924 intptr = &options->tcp_keep_alive; in process_config_line()
928 intptr = &options->no_host_authentication_for_localhost; in process_config_line()
932 intptr = &options->number_of_password_prompts; in process_config_line()
936 intptr = &options->compression_level; in process_config_line()
958 if (*activep && options->rekey_limit == -1) in process_config_line()
959 options->rekey_limit = (u_int32_t)val64; in process_config_line()
965 intptr = &options->rekey_interval; in process_config_line()
975 intptr = &options->num_identity_files; in process_config_line()
979 add_identity_file(options, NULL, in process_config_line()
985 charptr=&options->xauth_location; in process_config_line()
989 charptr = &options->user; in process_config_line()
1000 cpptr = (char **)&options->system_hostfiles; in process_config_line()
1001 uintptr = &options->num_system_hostfiles; in process_config_line()
1016 cpptr = (char **)&options->user_hostfiles; in process_config_line()
1017 uintptr = &options->num_user_hostfiles; in process_config_line()
1022 charptr = &options->hostname; in process_config_line()
1026 charptr = &options->host_key_alias; in process_config_line()
1030 charptr = &options->preferred_authentications; in process_config_line()
1034 charptr = &options->bind_address; in process_config_line()
1038 charptr = &options->pkcs11_provider; in process_config_line()
1042 charptr = &options->proxy_command; in process_config_line()
1052 intptr = &options->port; in process_config_line()
1069 intptr = &options->connection_attempts; in process_config_line()
1073 intptr = &options->cipher; in process_config_line()
1092 if (*activep && options->ciphers == NULL) in process_config_line()
1093 options->ciphers = xstrdup(arg); in process_config_line()
1103 if (*activep && options->macs == NULL) in process_config_line()
1104 options->macs = xstrdup(arg); in process_config_line()
1115 if (*activep && options->kex_algorithms == NULL) in process_config_line()
1116 options->kex_algorithms = xstrdup(arg); in process_config_line()
1120 charptr = &options->hostkeyalgorithms; in process_config_line()
1134 intptr = &options->protocol; in process_config_line()
1147 log_level_ptr = &options->log_level; in process_config_line()
1187 add_local_forward(options, &fwd); in process_config_line()
1189 add_remote_forward(options, &fwd); in process_config_line()
1194 intptr = &options->clear_forwardings; in process_config_line()
1231 value = match_cfg_line(options, &s, pw, host, original_host, in process_config_line()
1240 intptr = &options->escape_char; in process_config_line()
1262 intptr = &options->address_family; in process_config_line()
1267 intptr = &options->enable_ssh_keysign; in process_config_line()
1271 intptr = &options->identities_only; in process_config_line()
1275 intptr = &options->server_alive_interval; in process_config_line()
1279 intptr = &options->server_alive_count_max; in process_config_line()
1289 if (options->num_send_env >= MAX_SEND_ENV) in process_config_line()
1292 options->send_env[options->num_send_env++] = in process_config_line()
1298 charptr = &options->control_path; in process_config_line()
1302 intptr = &options->control_master; in process_config_line()
1308 intptr = &options->control_persist; in process_config_line()
1326 options->control_persist_timeout = value2; in process_config_line()
1331 intptr = &options->hash_known_hosts; in process_config_line()
1335 intptr = &options->tun_open; in process_config_line()
1347 options->tun_local = value; in process_config_line()
1348 options->tun_remote = value2; in process_config_line()
1353 charptr = &options->local_command; in process_config_line()
1357 intptr = &options->permit_local_command; in process_config_line()
1361 intptr = &options->visual_host_key; in process_config_line()
1376 options->ip_qos_interactive = value; in process_config_line()
1377 options->ip_qos_bulk = value2; in process_config_line()
1382 intptr = &options->use_roaming; in process_config_line()
1386 intptr = &options->request_tty; in process_config_line()
1391 charptr = &options->ignored_unknown; in process_config_line()
1395 intptr = &options->proxy_use_fdpass; in process_config_line()
1399 value = options->num_canonical_domains != 0; in process_config_line()
1404 if (options->num_canonical_domains >= MAX_CANON_DOMAINS) in process_config_line()
1407 options->canonical_domains[ in process_config_line()
1408 options->num_canonical_domains++] = xstrdup(arg); in process_config_line()
1413 value = options->num_permitted_cnames != 0; in process_config_line()
1431 if (options->num_permitted_cnames >= MAX_CANON_DOMAINS) in process_config_line()
1434 cname = options->permitted_cnames + in process_config_line()
1435 options->num_permitted_cnames++; in process_config_line()
1442 intptr = &options->canonicalize_hostname; in process_config_line()
1447 intptr = &options->canonicalize_max_dots; in process_config_line()
1451 intptr = &options->canonicalize_fallback_local; in process_config_line()
1462 options->fwd_opts.streamlocal_bind_mask = (mode_t)value; in process_config_line()
1466 intptr = &options->fwd_opts.streamlocal_bind_unlink; in process_config_line()
1470 charptr = &options->revoked_host_keys; in process_config_line()
1474 intptr = &options->fingerprint_hash; in process_config_line()
1487 intptr = &options->update_hostkeys; in process_config_line()
1492 charptr = &options->hostbased_key_types; in process_config_line()
1496 charptr = &options->pubkey_key_types; in process_config_line()
1530 const char *original_host, Options *options, int flags) in read_config_file() argument
1561 if (process_config_line(options, pw, host, original_host, in read_config_file()
1587 initialize_options(Options * options) in initialize_options() argument
1589 memset(options, 'X', sizeof(*options)); in initialize_options()
1590 options->forward_agent = -1; in initialize_options()
1591 options->forward_x11 = -1; in initialize_options()
1592 options->forward_x11_trusted = -1; in initialize_options()
1593 options->forward_x11_timeout = -1; in initialize_options()
1594 options->exit_on_forward_failure = -1; in initialize_options()
1595 options->xauth_location = NULL; in initialize_options()
1596 options->fwd_opts.gateway_ports = -1; in initialize_options()
1597 options->fwd_opts.streamlocal_bind_mask = (mode_t)-1; in initialize_options()
1598 options->fwd_opts.streamlocal_bind_unlink = -1; in initialize_options()
1599 options->use_privileged_port = -1; in initialize_options()
1600 options->rsa_authentication = -1; in initialize_options()
1601 options->pubkey_authentication = -1; in initialize_options()
1602 options->challenge_response_authentication = -1; in initialize_options()
1603 options->gss_authentication = -1; in initialize_options()
1604 options->gss_deleg_creds = -1; in initialize_options()
1605 options->password_authentication = -1; in initialize_options()
1606 options->kbd_interactive_authentication = -1; in initialize_options()
1607 options->kbd_interactive_devices = NULL; in initialize_options()
1608 options->rhosts_rsa_authentication = -1; in initialize_options()
1609 options->hostbased_authentication = -1; in initialize_options()
1610 options->batch_mode = -1; in initialize_options()
1611 options->check_host_ip = -1; in initialize_options()
1612 options->strict_host_key_checking = -1; in initialize_options()
1613 options->compression = -1; in initialize_options()
1614 options->tcp_keep_alive = -1; in initialize_options()
1615 options->compression_level = -1; in initialize_options()
1616 options->port = -1; in initialize_options()
1617 options->address_family = -1; in initialize_options()
1618 options->connection_attempts = -1; in initialize_options()
1619 options->connection_timeout = -1; in initialize_options()
1620 options->number_of_password_prompts = -1; in initialize_options()
1621 options->cipher = -1; in initialize_options()
1622 options->ciphers = NULL; in initialize_options()
1623 options->macs = NULL; in initialize_options()
1624 options->kex_algorithms = NULL; in initialize_options()
1625 options->hostkeyalgorithms = NULL; in initialize_options()
1626 options->protocol = SSH_PROTO_UNKNOWN; in initialize_options()
1627 options->num_identity_files = 0; in initialize_options()
1628 options->hostname = NULL; in initialize_options()
1629 options->host_key_alias = NULL; in initialize_options()
1630 options->proxy_command = NULL; in initialize_options()
1631 options->user = NULL; in initialize_options()
1632 options->escape_char = -1; in initialize_options()
1633 options->num_system_hostfiles = 0; in initialize_options()
1634 options->num_user_hostfiles = 0; in initialize_options()
1635 options->local_forwards = NULL; in initialize_options()
1636 options->num_local_forwards = 0; in initialize_options()
1637 options->remote_forwards = NULL; in initialize_options()
1638 options->num_remote_forwards = 0; in initialize_options()
1639 options->clear_forwardings = -1; in initialize_options()
1640 options->log_level = SYSLOG_LEVEL_NOT_SET; in initialize_options()
1641 options->preferred_authentications = NULL; in initialize_options()
1642 options->bind_address = NULL; in initialize_options()
1643 options->pkcs11_provider = NULL; in initialize_options()
1644 options->enable_ssh_keysign = - 1; in initialize_options()
1645 options->no_host_authentication_for_localhost = - 1; in initialize_options()
1646 options->identities_only = - 1; in initialize_options()
1647 options->rekey_limit = - 1; in initialize_options()
1648 options->rekey_interval = -1; in initialize_options()
1649 options->verify_host_key_dns = -1; in initialize_options()
1650 options->server_alive_interval = -1; in initialize_options()
1651 options->server_alive_count_max = -1; in initialize_options()
1652 options->num_send_env = 0; in initialize_options()
1653 options->control_path = NULL; in initialize_options()
1654 options->control_master = -1; in initialize_options()
1655 options->control_persist = -1; in initialize_options()
1656 options->control_persist_timeout = 0; in initialize_options()
1657 options->hash_known_hosts = -1; in initialize_options()
1658 options->tun_open = -1; in initialize_options()
1659 options->tun_local = -1; in initialize_options()
1660 options->tun_remote = -1; in initialize_options()
1661 options->local_command = NULL; in initialize_options()
1662 options->permit_local_command = -1; in initialize_options()
1663 options->use_roaming = 0; in initialize_options()
1664 options->visual_host_key = -1; in initialize_options()
1665 options->ip_qos_interactive = -1; in initialize_options()
1666 options->ip_qos_bulk = -1; in initialize_options()
1667 options->request_tty = -1; in initialize_options()
1668 options->proxy_use_fdpass = -1; in initialize_options()
1669 options->ignored_unknown = NULL; in initialize_options()
1670 options->num_canonical_domains = 0; in initialize_options()
1671 options->num_permitted_cnames = 0; in initialize_options()
1672 options->canonicalize_max_dots = -1; in initialize_options()
1673 options->canonicalize_fallback_local = -1; in initialize_options()
1674 options->canonicalize_hostname = -1; in initialize_options()
1675 options->revoked_host_keys = NULL; in initialize_options()
1676 options->fingerprint_hash = -1; in initialize_options()
1677 options->update_hostkeys = -1; in initialize_options()
1678 options->hostbased_key_types = NULL; in initialize_options()
1679 options->pubkey_key_types = NULL; in initialize_options()
1687 fill_default_options_for_canonicalization(Options *options) in fill_default_options_for_canonicalization() argument
1689 if (options->canonicalize_max_dots == -1) in fill_default_options_for_canonicalization()
1690 options->canonicalize_max_dots = 1; in fill_default_options_for_canonicalization()
1691 if (options->canonicalize_fallback_local == -1) in fill_default_options_for_canonicalization()
1692 options->canonicalize_fallback_local = 1; in fill_default_options_for_canonicalization()
1693 if (options->canonicalize_hostname == -1) in fill_default_options_for_canonicalization()
1694 options->canonicalize_hostname = SSH_CANONICALISE_NO; in fill_default_options_for_canonicalization()
1702 fill_default_options(Options * options) in fill_default_options() argument
1704 if (options->forward_agent == -1) in fill_default_options()
1705 options->forward_agent = 0; in fill_default_options()
1706 if (options->forward_x11 == -1) in fill_default_options()
1707 options->forward_x11 = 0; in fill_default_options()
1708 if (options->forward_x11_trusted == -1) in fill_default_options()
1709 options->forward_x11_trusted = 0; in fill_default_options()
1710 if (options->forward_x11_timeout == -1) in fill_default_options()
1711 options->forward_x11_timeout = 1200; in fill_default_options()
1712 if (options->exit_on_forward_failure == -1) in fill_default_options()
1713 options->exit_on_forward_failure = 0; in fill_default_options()
1714 if (options->xauth_location == NULL) in fill_default_options()
1715 options->xauth_location = _PATH_XAUTH; in fill_default_options()
1716 if (options->fwd_opts.gateway_ports == -1) in fill_default_options()
1717 options->fwd_opts.gateway_ports = 0; in fill_default_options()
1718 if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1) in fill_default_options()
1719 options->fwd_opts.streamlocal_bind_mask = 0177; in fill_default_options()
1720 if (options->fwd_opts.streamlocal_bind_unlink == -1) in fill_default_options()
1721 options->fwd_opts.streamlocal_bind_unlink = 0; in fill_default_options()
1722 if (options->use_privileged_port == -1) in fill_default_options()
1723 options->use_privileged_port = 0; in fill_default_options()
1724 if (options->rsa_authentication == -1) in fill_default_options()
1725 options->rsa_authentication = 1; in fill_default_options()
1726 if (options->pubkey_authentication == -1) in fill_default_options()
1727 options->pubkey_authentication = 1; in fill_default_options()
1728 if (options->challenge_response_authentication == -1) in fill_default_options()
1729 options->challenge_response_authentication = 1; in fill_default_options()
1730 if (options->gss_authentication == -1) in fill_default_options()
1731 options->gss_authentication = 0; in fill_default_options()
1732 if (options->gss_deleg_creds == -1) in fill_default_options()
1733 options->gss_deleg_creds = 0; in fill_default_options()
1734 if (options->password_authentication == -1) in fill_default_options()
1735 options->password_authentication = 1; in fill_default_options()
1736 if (options->kbd_interactive_authentication == -1) in fill_default_options()
1737 options->kbd_interactive_authentication = 1; in fill_default_options()
1738 if (options->rhosts_rsa_authentication == -1) in fill_default_options()
1739 options->rhosts_rsa_authentication = 0; in fill_default_options()
1740 if (options->hostbased_authentication == -1) in fill_default_options()
1741 options->hostbased_authentication = 0; in fill_default_options()
1742 if (options->batch_mode == -1) in fill_default_options()
1743 options->batch_mode = 0; in fill_default_options()
1744 if (options->check_host_ip == -1) in fill_default_options()
1745 options->check_host_ip = 1; in fill_default_options()
1746 if (options->strict_host_key_checking == -1) in fill_default_options()
1747 options->strict_host_key_checking = 2; /* 2 is default */ in fill_default_options()
1748 if (options->compression == -1) in fill_default_options()
1749 options->compression = 0; in fill_default_options()
1750 if (options->tcp_keep_alive == -1) in fill_default_options()
1751 options->tcp_keep_alive = 1; in fill_default_options()
1752 if (options->compression_level == -1) in fill_default_options()
1753 options->compression_level = 6; in fill_default_options()
1754 if (options->port == -1) in fill_default_options()
1755 options->port = 0; /* Filled in ssh_connect. */ in fill_default_options()
1756 if (options->address_family == -1) in fill_default_options()
1757 options->address_family = AF_UNSPEC; in fill_default_options()
1758 if (options->connection_attempts == -1) in fill_default_options()
1759 options->connection_attempts = 1; in fill_default_options()
1760 if (options->number_of_password_prompts == -1) in fill_default_options()
1761 options->number_of_password_prompts = 3; in fill_default_options()
1763 if (options->cipher == -1) in fill_default_options()
1764 options->cipher = SSH_CIPHER_NOT_SET; in fill_default_options()
1766 if (options->protocol == SSH_PROTO_UNKNOWN) in fill_default_options()
1767 options->protocol = SSH_PROTO_2; in fill_default_options()
1768 if (options->num_identity_files == 0) { in fill_default_options()
1769 if (options->protocol & SSH_PROTO_1) { in fill_default_options()
1770 add_identity_file(options, "~/", in fill_default_options()
1773 if (options->protocol & SSH_PROTO_2) { in fill_default_options()
1774 add_identity_file(options, "~/", in fill_default_options()
1776 add_identity_file(options, "~/", in fill_default_options()
1779 add_identity_file(options, "~/", in fill_default_options()
1782 add_identity_file(options, "~/", in fill_default_options()
1786 if (options->escape_char == -1) in fill_default_options()
1787 options->escape_char = '~'; in fill_default_options()
1788 if (options->num_system_hostfiles == 0) { in fill_default_options()
1789 options->system_hostfiles[options->num_system_hostfiles++] = in fill_default_options()
1791 options->system_hostfiles[options->num_system_hostfiles++] = in fill_default_options()
1794 if (options->num_user_hostfiles == 0) { in fill_default_options()
1795 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
1797 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
1800 if (options->log_level == SYSLOG_LEVEL_NOT_SET) in fill_default_options()
1801 options->log_level = SYSLOG_LEVEL_INFO; in fill_default_options()
1802 if (options->clear_forwardings == 1) in fill_default_options()
1803 clear_forwardings(options); in fill_default_options()
1804 if (options->no_host_authentication_for_localhost == - 1) in fill_default_options()
1805 options->no_host_authentication_for_localhost = 0; in fill_default_options()
1806 if (options->identities_only == -1) in fill_default_options()
1807 options->identities_only = 0; in fill_default_options()
1808 if (options->enable_ssh_keysign == -1) in fill_default_options()
1809 options->enable_ssh_keysign = 0; in fill_default_options()
1810 if (options->rekey_limit == -1) in fill_default_options()
1811 options->rekey_limit = 0; in fill_default_options()
1812 if (options->rekey_interval == -1) in fill_default_options()
1813 options->rekey_interval = 0; in fill_default_options()
1814 if (options->verify_host_key_dns == -1) in fill_default_options()
1815 options->verify_host_key_dns = 0; in fill_default_options()
1816 if (options->server_alive_interval == -1) in fill_default_options()
1817 options->server_alive_interval = 0; in fill_default_options()
1818 if (options->server_alive_count_max == -1) in fill_default_options()
1819 options->server_alive_count_max = 3; in fill_default_options()
1820 if (options->control_master == -1) in fill_default_options()
1821 options->control_master = 0; in fill_default_options()
1822 if (options->control_persist == -1) { in fill_default_options()
1823 options->control_persist = 0; in fill_default_options()
1824 options->control_persist_timeout = 0; in fill_default_options()
1826 if (options->hash_known_hosts == -1) in fill_default_options()
1827 options->hash_known_hosts = 0; in fill_default_options()
1828 if (options->tun_open == -1) in fill_default_options()
1829 options->tun_open = SSH_TUNMODE_NO; in fill_default_options()
1830 if (options->tun_local == -1) in fill_default_options()
1831 options->tun_local = SSH_TUNID_ANY; in fill_default_options()
1832 if (options->tun_remote == -1) in fill_default_options()
1833 options->tun_remote = SSH_TUNID_ANY; in fill_default_options()
1834 if (options->permit_local_command == -1) in fill_default_options()
1835 options->permit_local_command = 0; in fill_default_options()
1836 options->use_roaming = 0; in fill_default_options()
1837 if (options->visual_host_key == -1) in fill_default_options()
1838 options->visual_host_key = 0; in fill_default_options()
1839 if (options->ip_qos_interactive == -1) in fill_default_options()
1840 options->ip_qos_interactive = IPTOS_LOWDELAY; in fill_default_options()
1841 if (options->ip_qos_bulk == -1) in fill_default_options()
1842 options->ip_qos_bulk = IPTOS_THROUGHPUT; in fill_default_options()
1843 if (options->request_tty == -1) in fill_default_options()
1844 options->request_tty = REQUEST_TTY_AUTO; in fill_default_options()
1845 if (options->proxy_use_fdpass == -1) in fill_default_options()
1846 options->proxy_use_fdpass = 0; in fill_default_options()
1847 if (options->canonicalize_max_dots == -1) in fill_default_options()
1848 options->canonicalize_max_dots = 1; in fill_default_options()
1849 if (options->canonicalize_fallback_local == -1) in fill_default_options()
1850 options->canonicalize_fallback_local = 1; in fill_default_options()
1851 if (options->canonicalize_hostname == -1) in fill_default_options()
1852 options->canonicalize_hostname = SSH_CANONICALISE_NO; in fill_default_options()
1853 if (options->fingerprint_hash == -1) in fill_default_options()
1854 options->fingerprint_hash = SSH_FP_HASH_DEFAULT; in fill_default_options()
1855 if (options->update_hostkeys == -1) in fill_default_options()
1856 options->update_hostkeys = 0; in fill_default_options()
1857 if (kex_assemble_names(KEX_CLIENT_ENCRYPT, &options->ciphers) != 0 || in fill_default_options()
1858 kex_assemble_names(KEX_CLIENT_MAC, &options->macs) != 0 || in fill_default_options()
1859 kex_assemble_names(KEX_CLIENT_KEX, &options->kex_algorithms) != 0 || in fill_default_options()
1861 &options->hostbased_key_types) != 0 || in fill_default_options()
1863 &options->pubkey_key_types) != 0) in fill_default_options()
1873 CLEAR_ON_NONE(options->local_command); in fill_default_options()
1874 CLEAR_ON_NONE(options->proxy_command); in fill_default_options()
1875 CLEAR_ON_NONE(options->control_path); in fill_default_options()
1876 CLEAR_ON_NONE(options->revoked_host_keys); in fill_default_options()