Accessing your Digital Ocean droplet via SSH

To access the server via SSH you need the droplet's ip address


Open your terminal and cd into the directory where your private and public SSH keys are located. Once you're there run

ssh -i key_name root@ip_address

keyname = your private key name (key without .pub extension)

ip_address = ip address from droplet that you copied above


Your terminal will look something like

Now that we can SSH into our server we can install mysql and import our database!

Comments (0)

Search Here