Perform setup when ``target remote`` is invoked.