Hello,
I manually added my public ssh key to the authorized keys file on my droplet, but i am not sure exactly how i can access the server from my local shell as it keeps prompting me to enter a password when i try to ssh root@<ip.address> . I have reloaded the ssh and rebooted the droplet; any advice would be appreciated!
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!
Try running it with the “-v” flag: <br> <br><pre> <br>ssh -v root@your.ip.address <br></pre> <br> <br>It should provide some information that might help figure out what is going on here. Could you paste the part that beginning with something like: <br> <br><pre> <br>debug1: Authentications that can continue: publickey,password <br></pre>
Heres what i got from the debug, thanks so much for that useful command! <br> <br>debug1: Authentications that can continue: publickey,password <br>debug1: Next authentication method: publickey <br>debug1: Offering RSA public key: /Users/coreykepple/.ssh/id_rsa <br>debug1: Authentications that can continue: publickey,password <br>debug1: Offering RSA public key: /Users/coreykepple/.ssh/github_rsa <br>debug1: Authentications that can continue: publickey,password <br>debug1: Trying private key: /Users/coreykepple/.ssh/id_dsa <br>debug1: Next authentication method: password
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.