By alejocolina
Reference:Tutorial Initial server setup with ubuntu 14.04
Please explain this passage from the tutorial:
Specifically how do I, AT THIS POINT “provide your root authentication(private key)”
Please notice that during droplet creation I checked “use my ssh key” so no password has been sent to me. So I have no password. I would have to reset my password to get one mailed to me, but that defeats the purpose of attaching my ssh key in the first place. but more importantly Here the instructions implies that at the point you can provide your password you have also the choice of providing your ssh key:
~ $ssh root@45.55.221.202
The authenticity of host '45.55.221.202 (45.55.221.202)' can't be established.
ECDSA key fingerprint is SHA256:TG8vLElrAYDRd6Mudtd+WklzpA1LTLnZQCKtRBxkn/4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '45.55.221.202' (ECDSA) to the list of known hosts.
root@45.55.221.202's password:
How do I instead of a password provide a private key?
Again: then providing your root authentication (password or private key)
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!
If you are being prompted for the remote user’s password, it means either
Since you added your ssh key to your Droplet while creating it, and you are logging in as root, it’s most likely the first scenario. Try passing the path to your private key to ssh like so: ssh -i /path/to/ssh_key root@ip. If that doesn’t work, pass -vv right before -i. This will enable more verbose output and should help you figure out what’s going on.
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.