Cant add SSH keys to known hosts file

I’ve created my SSH keys but I’m unable to add them to my “known hosts file” I followed these instructions: everything works fine until I get to the “Are you sure you want to continue connecting (yes/no)? yes” after that I get nothing

Basically I’m using wordpress, server pilot, and digital ocean and want to create SSH keys as my droplet was created without them.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Another way to do this with Userify is to paste the Userify shim installer into the “UserData” portion when creating your droplet (or, since you’ve already created it, just paste it right into the server console.). Then, it’s easy - Userify just creates the user account, set up the SSH keys, and set up sudoers for that user account so you can sudo. Don’t forget to enable MFA :)