i setup 2 droplets in LON1 with the same SSH key and private network enabled.
I can connect just fine to both of them from kitty via ssh, and all it ask is username (root).
But if i try to scp or ssh from inside one droplet to another, it keeps asking for a password, which i never set.
root@Webapps01:~# ssh 10.20.30.40 The authenticity of host ‘10.20.30.40 (10.20.30.40)’ can’t be established. ECDSA key fingerprint is 31:22:0e:5a:20:cc:20:2e:20:2d:20:a6:7b:86:ed:e3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘10.20.30.40’ (ECDSA) to the list of known hosts. root@10.20.30.40’s password: Permission denied, please try again. root@10.20.30.40’s password: Permission denied, please try again. root@10.20.30.40’s password: Permission denied (publickey,password).
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!
When I have had that happen, the problem has usually been related to permissions on the key.
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.