Question
How to provide "private key" on first time log-on password challenge
Reference:Tutorial Initial server setup with ubuntu 14.04
Please explain this passage from the tutorial:
- Complete the login process by accepting the warning about host authenticity, if it appears, then providing your root authentication (password or private key). If it is your first time logging into the server, with a password, you will also be prompted to change the root password.
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)
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.
×
I wanted to setup openVPN for my ubuntu 16 droplet following
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04
I erroneously entered a challenge password on
./build-key-server server
how can I correct this?
hi @hoffimuc you should post this as a new question as it isn’t related to answering @alejocolina ’s question. How about doing that here: https://www.digitalocean.com/community/questions/new then delete this post. It will be easier for people to discover and respond to it that way