# Can multiple nodes share the same peer id?

**URL:** <https://discuss.ipfs.tech/t/can-multiple-nodes-share-the-same-peer-id/1204>\
**Category:** Help\
**Created:** [October 5, 2017, 11:31am UTC](https://discuss.ipfs.tech/t/can-multiple-nodes-share-the-same-peer-id/1204 "2017-10-05T11:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lidel](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/lidel/32/9853_2.png) [@lidel](https://discuss.ipfs.tech/u/lidel)\
**Post date:** [October 5, 2017, 12:29pm UTC](https://discuss.ipfs.tech/t/can-multiple-nodes-share-the-same-peer-id/1204/3 "2017-10-05T12:29:22Z")

</div>

Duplicate of node identity is probably a bad idea, but if you reframe the question into “can I publish to the same IPNS key from multiple boxes?”, then it makes more sense. If you use dedicated key for that.  
(Someone may want to publish a static blog from home, and then from work laptop)

I created PoC of publishing to the same PeerId from two different boxes some time ago:

> [@IPNS publishing after generating a key](https://discuss.ipfs.tech/t/ipns-publishing-after-generating-a-key/90/4):
>
> Wow, I tested it via HTTP APIs you linked and it seems to… work just fine. rocket Not sure why you had different IPNS hash, but I got the feeling you were regenerating key instead of generating it only once and copying it to all nodes that should be able to publish with it. I wrote a short instruction, check if you were following the same steps: Publishing with the same key from two different nodes I generated a new key under alias “test”: nodeA $ curl 'http://localhost:5001/api/v0/key/ge…

---

_[View the full topic](https://discuss.ipfs.tech/t/can-multiple-nodes-share-the-same-peer-id/1204)._
