I know that I could create a ssh key file to connect to server via ssh without having to use the root password or some other user password
can you please post a link to steps or tell me how. thanks
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!
Hi, <br>I started the tutorial (digital ocean) and I was able to get to this point <br>cat myfiile_rsa.pub | ssh myusername@1.1.1.1 “cat >> ~/.ssh/authorized_keys” <br>myusername@1.1.1.1’s password: <br>bash: /home/myusername/.ssh/authorized_keys: No such file or directory <br> <br>Do I have to create the directories? install a package ? <br> <br>Note I replaced my ip and username with fake ones (1.1.1.1 and my username )
Take a look at this article <br> <br><a href=“https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2”>https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2</a>
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.