I have a VM running Ubuntu Server 18.04 on my local network. This local VM is not accessible outside my network. I want to connect this VM to my Droplet.
I already have an ssh key for this droplet, and I am able to connect no problems.
I created a new key on my local VM. Knowing that I could not connect to the Droplet from this VM, I copied and pasted my new key below my original key in authorized_keys.
However, even after a reboot, I am still unable to connect my VM to my Droplet. I am still able to connect to my Droplet using my first key.
What am I doing wrong?
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.