How to share a DigitalOcean server with keys between two computers
So a colleague and I have set up a Digital Ocean server, and tried setting up the Keys. There are only two of us, and after he set up his key, I received a “permission denied (publickey)” notice in my Mac Terminal. I can’t log into the server, or set up my own keys now. Neither as root, or as the username I created.
So how would we in fact make it so that we can both use SSH keys, and log onto the server directly, and use it with Perforce to work on the same project. Would I need to manually add his keys to my computer? How would I do that if I cannot login to the server because of the publickey error? We have perforce set up, but now since i’m getting this publickey error, I cannot setup my SSH keys or login to the server.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×