By m73mitchell
I’m following along with this tutorial http://toroid.org/ams/git-website-howto about how to use git to deploy to a remote server with a simple command like ‘git push web.’ The article has the following paragraph
“I assume that the web site will live on a server to which you have ssh access, and that things are set up so that you can ssh to it without having to type a password (i.e., that your public key is in ~/.ssh/authorized_keys and you are running ssh-agent locally).”
In the .ssh directory on my local machine, I have
“id_rsa id_rsa.pub key_backup known_hosts”
i.e. there is no ‘authorized_keys’
Can anyone explain how I might create authorized keys for this to work? thanks in advance
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!
Check out: <br> <br>1.) <a href=“https://www.digitalocean.com/community/articles/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps”>How to Create SSH Keys with PuTTY to Connect to a VPS | DigitalOcean</a>; <br> <br>2.) <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2”>How to Set Up SSH Keys | DigitalOcean</a>; <br> <br>3.) <a href=“https://www.digitalocean.com/community/articles/how-to-install-git-on-ubuntu-12-04”>How to Install Git on Ubuntu 12.04 | DigitalOcean</a>; <br> <br>4.) <a href=“https://www.digitalocean.com/community/articles/how-to-use-git-effectively”>How to Use Git Effectively | DigitalOcean</a>; <br> <br>5.) <a href=“https://www.digitalocean.com/community/articles/how-to-use-git-branches”>How to Use Git Branches | DigitalOcean</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.