Score:0

SCP on Ubuntu 20.02 between two DigitalOcean droplets

vn flag

I have two digitalocean droplets and I'm trying to transfer a file from one droplet to another. I have SSH setup to login to both of them.

I'm using this command:

scp certs.tar.gz max@my_ip:/home/max

And the response I get is:

max@my_ip: Permission denied (publickey).
lost connection

How can I fix this?

tilleyc avatar
us flag
Did you populate keys for the user on both servers?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.