This article is part of the Admin Setup (Step-by-Step) guide.
After creating the droplet, note its IP Address shown on the right at the DigitalOcean screen below:
Video overview
Select the tab for your computer's OS below, and follow the corresponding directions.
Detailed steps
Open your computer's Terminal again if it's not still open. On macOS, this can be found by typing 'terminal' in Spotlight, or under 'Applications > Utilities > Terminal'.
Then, run the following, but replacing 1.2.3.4
with the IP address of your droplet, and hit Enter
:
ssh root@1.2.3.4
You'll be asked if you're sure you want to continue connecting. Type yes
and hit Enter
.
Then, you'll be prompted to enter the password you protected your SSH key with when creating it. Do so, and hit Enter
.
⚠️ NOTE: Nothing will appear in the terminal as you enter your passphrase. This is intentional. You're still typing though.
When you see the prompt root@your-droplet:~#
, instead of your-name@your-mac ~ %
, you've logged into your server.
Open your Windows Powershell again if it's not still open. On Windows 10, this can be found by typing 'powershell' the Start menu's search bar.
Then, run the following, but replacing 1.2.3.4
with the IP address of your droplet, and hit Enter
:
ssh root@1.2.3.4
You'll be asked if you're sure you want to continue connecting. Type yes
and hit Enter
.
Then, you'll be prompted to enter the password you protected your SSH key with when creating it. Do so, and hit Enter
.
⚠️Note: Nothing will appear in the PowerShell terminal as you enter your passphrase. This is intentional. You're still typing though.
When you see the prompt root@your-droplet:~#
, instead of PS C:\Users\your-name>
, you've logged into your server.
Step-By-Step instructions
After the above is complete, continue with Step 6 in this section.
Comments
0 comments
Article is closed for comments.