Report this

What is the reason for this report?

Setting up server, getting "'ssh' is not recognized as an internal or external command"

Posted on March 11, 2016

I’m following the Initial Server Setup directions and am close to the end of that page. I’m now trying to connect to the new server from my local machine. The instructions say to use this command: ssh demo@SERVER_IP_ADDRESS. When I try that in a terminal window, I am told ‘ssh’ is not recognized as an internal or external command. I am using Windows and using PuTTY to connect. The instructions say if I’m using PuTTY to “be sure to update the session’s port number to match your server’s current configuration.” I have been using Port 22. I tried that again, and then a terminal opens up asking for a password for “root”. I don’t think I have a password for root because I created the droplet with an ssh key. I tried the password for my user, but that did not work. i tried connecting on port 23 not knowing if that would work, and it did not. What should I do?



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!

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.

Not sure if you still need help. But here are two links that may help with Windows based PuTTY key auth.

How To Use SSH Keys with PuTTY on DigitalOcean Droplets (Windows users) [Key-Based SSH Logins With PuTTY] (https://www.howtoforge.com/ssh_key_based_logins_putty)

Ah,

When you set up a droplet with SSH keys, no root password will be emailed to you. Make sure you have the correct SSH key selected in PuTTY (its somewhere under the ssh/auth settings) once youve pointed to your PPK file, you should be good to go.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.