1
New User Lost
knaz
So I'm super new to all this and trying to setup the very basics. Your documentation is not always up to date. For example just setting up doctl it has me try and create a Ubuntu 16.04 server which of course can't be done. And then even once I got a proper droplet setup, I can't log into it with doctl. I setup SSH keys but when I use the --ssh-key-path flag it jsut tells me I have the wrong format (even though it is normal formal from PuTTY gen.
knaz
Dan Brian thanks for the reply. Yep I get that I should be using PuTTY, which I am. I was just pointing out that there is some documentation on the site that cannot be followed directly. It needs to be updated or removed or something.
On this page for example:
https://docs.digitalocean.com/reference/doctl/how-to/install/
There is a line that will not execute (since that version of Ubuntu is not permitted nor is there any indication what to change it to to make it work so I had to guess):
doctl compute droplet create --region sfo2 --image ubuntu-18-04-x64 --size s-1vcpu-1gb <DROPLET-NAME>
Not a huge deal, but there are many random lines like this that seem to be in the very beginner tutorials (which I am) and so it trips me up when I can't follow the instructions as-is.
Dan Brian
knaz Hi, thanks for reaching out! Can you link to the outdated documentation by any chance? I'm not seeing any references to Ubuntu in our doctl getting started doc. Perhaps you're looking at an old Community tutorial?
Regardless, doctl is meant to be used to manage your DigitalOcean resources (such as creating and deleting Droplets, making backups of the Droplet, etc...), not log in to Droplet itself.
To log in to the Droplet from the command line, you need to create an SSH key on your local system and then use the
ssh
tool on your command line to log in to the Droplet. This can usually be accomplished by just using the following command:ssh root@<your-droplet-ip-address>
If you're using PuTTY, you can follow this guide here to connect to your Droplet:
Hope this helps. Thanks!