Configuring remote hosts