update conf template with remoting config.