setting peer_id of remote key object