Use read_host_config() where appropriate.