How to Access Terminal / SSH in a VPS (Beginner Guide)

How to Access Terminal / SSH in a VPS (Beginner Guide)

How to Access Terminal / SSH in a VPS (Beginner Guide)

If you have purchased a VPS (Virtual Private Server), one of the first things you need to learn is how to access it using SSH (Secure Shell). SSH allows you to connect to your server remotely and manage it through a command-line interface.

Using SSH, you can install software, manage files, configure services, and maintain your server securely from anywhere.

In this guide, we will explain how to access your VPS using Terminal or SSH step-by-step, even if you are a beginner.


What is SSH?

SSH (Secure Shell) is a secure network protocol used to connect to a remote server. It encrypts communication between your computer and the server, making it safe to manage your VPS remotely.

With SSH you can:

  • Install and update software
  • Manage server files
  • Configure services
  • Monitor system performance
  • Restart or shut down the server

Most Linux VPS servers are managed entirely using SSH.


Information Required Before Connecting to Your VPS

Before accessing your VPS through SSH, make sure you have the following details provided by your hosting provider:

  • Server IP Address
  • Username (usually root)
  • Password or SSH key
  • SSH Port (default: 22)

Example server details:

IP Address: 192.168.1.10
Username: root
Password: yourpassword
Port: 22

Method 1: Access VPS Using Terminal (Mac or Linux)

If you are using MacOS or Linux, you can connect directly using the built-in Terminal application.

Step 1: Open Terminal

Open the Terminal application on your system.

Step 2: Run the SSH Command

Type the following command:

ssh root@your-server-ip

Example:

ssh root@192.168.1.10

Step 3: Confirm the Connection

The first time you connect, you may see a security message like this:

Are you sure you want to continue connecting (yes/no)?

Type:

yes

and press Enter.

Step 4: Enter the Password

You will now see:

root@192.168.1.10's password:

Type your server password and press Enter.

If the credentials are correct, you will successfully log in to your VPS.


Important: Password Will Not Appear While Typing

Many beginners get confused at this step.

When typing your password in SSH:

  • No letters will appear
  • No dots (••••) will appear
  • The cursor will not move

This is completely normal behavior.

SSH hides password input for security reasons so that no one can see the password length or characters on your screen.

Even though nothing appears, your password is still being typed.

What You Should Do

  1. Carefully type your password.
  2. Even if nothing appears, continue typing.
  3. Press Enter when finished.

If the password is correct, you will see something like:

[root@server ~]#

This means you are now connected to your VPS.


Method 2: Access VPS Using SSH on Windows (PuTTY)

Windows users usually connect to a VPS using a free SSH client called PuTTY.

Step 1: Download PuTTY

Download PuTTY from the official website:

https://www.putty.org

Step 2: Open PuTTY

Launch the PuTTY application after installation.

Step 3: Enter Server Details

Fill in the following information:

  • Host Name (or IP address): Your VPS IP address
  • Port: 22
  • Connection Type: SSH

Example:

Host Name: 192.168.1.10
Port: 22
Connection Type: SSH

Step 4: Click Open

Click the Open button to start the connection.

Step 5: Login to the Server

A terminal window will appear asking for login credentials.

login as: root

Type root and press Enter.

Then enter your password.

Again, the password will not appear while typing, which is normal in SSH.

Once authenticated, you will gain access to your VPS terminal.


Basic SSH Commands for Beginners

After logging into your VPS, you can run commands to manage your server.

Check Server Information

uname -a

Check Disk Space

df -h

Check Memory Usage

free -m

Update Server (Ubuntu / Debian)

apt update && apt upgrade

Restart the Server

reboot

SSH Security Tips

To improve the security of your VPS, follow these best practices:

Change the Default SSH Port

Changing the default port (22) helps reduce automated attacks.

Disable Root Login

Create a new admin user and disable direct root access.

Use SSH Keys Instead of Passwords

SSH keys provide stronger authentication compared to passwords.

Enable a Firewall

Example command:

ufw enable

This helps protect your server from unauthorized access.


Conclusion

Accessing your VPS using SSH is the most common and powerful way to manage your server. Whether you are using Terminal on Mac/Linux or PuTTY on Windows, the connection process is simple once you have your server details.

After connecting through SSH, you can control your server, install applications, host websites, and configure services easily.

Learning SSH is an essential skill for anyone using VPS hosting.