Working notes on Custom: Server SSH colour change.
Override ssh with a wrapper that sets Terminal background colour from the remote hostname.