Question

Private networking and SSH keys

Hello!

I have two Ubuntu Server droplets both with private networking enabled. Both servers are configured for SSH with keys rather than a password (password authentication is explicitly disabled). When trying to copy files from one to the other, I’m asked for the sudo password. My understanding of SSH keys is that they work as a server-client relationship, so is it even possible to have the two authenticate with each other with SSH keys?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.