Added the setting of remote_host