I’ve got 2 droplets and I have an idea to move files from a to b using rsync then return from b to a using the same. I need to use ssh in the rsync and getting a permission denied error. I also tried adding the ssh key but found you can’t add an ssh key to an existing droplet.
my ssh key works fine from my local machine I’d need it to work also from the droplet.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Are you sure the key on droplet a is authorized on dropblet b and vice-versa?
the key in ~/.ssh/id_rsa.pub on droplet a should appear as a line in ~/.ssh/authorized_keys on droplet b
Then, from droplet a, you should be able to type “ssh username@dropletb” and log in.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.