SSH (Secure Shell) is a network protocol used for secure remote access to a Linux server or a DigitalOcean droplet. Here are the steps to SSH into your DigitalOcean droplet:
- Open a terminal on your local machine. If you’re on Windows, you can use a tool like PuTTY to establish an SSH connection.
- In the terminal, use the
ssh
command to connect to your droplet. The command should follow this syntax:
ssh [username]@[droplet_ip_address]
Replace [username]
with your droplet’s username and [droplet_ip_address]
with your droplet’s IP address.
For example, if your droplet’s IP address is 203.0.113.0
and your droplet’s username is root
, you would run the following command:
ssh root@203.0.113.0
- If this is your first time connecting to the droplet, you may see a prompt asking you to verify the authenticity of the host. Type
yes
to continue. - Enter your droplet’s password when prompted. Note that the password will not be displayed as you type it.
- Once you’ve successfully authenticated, you’ll be logged in to your droplet via SSH.
That’s it! You can now use the terminal to run commands on your DigitalOcean droplet.