Hi I am trying to transfer files from 1 droplet to another (they are in the same region). I found some articles about doing it using the VPC private IP.
I’ve tried a few things and I haven’t been able to get it working yet.
Please can someone give some guidance?
This is what I’ve tried on the droplet with the files:
scp -r /html/wp-content/testingthis firstname.lastname@example.org:/html/wp-content/ The authenticity of host '18.104.22.168 (22.214.171.124)' can't be established. ED25519 key fingerprint is SHA256:FingerPrintStringHere. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? FingerPrintStringHere Warning: Permanently added '126.96.36.199' (ED25519) to the list of known hosts. email@example.com: Permission denied (publickey). lost connection
I then tried
I then copied the contents of the vpcfile.pub and pasted it into the remote destination droplet:
And then did this on both droplets:
I then tried this cmd again:
And got this result:
firstname.lastname@example.org: Permission denied (publickey). lost connection
I’ve tried following the instructions from these sites:
Please can someone advise on how to get this working?
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!
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.