Same ID on two Ubuntu devices
I have an Ubuntu laptop that I use from my home and an ubuntu PC at work. For some reason, the laptop and the PC have the same ID (I noticed it the moment I changed the friendly name of the PC and it got changed also to the laptop as well). So, I cannot connect to my PC and not only that, it is not even on the list of the trusted computers. This did not happen when I had Windows on my laptop though.
Both of the machines run Ubuntu 18.04.
Thank you very much in advance.