Connecting via SSH

How to Access Your DomainIndia.com VPS Using SSH

Published · Updated 3 min read
Knowledge base article
Contents (14 sections)

Introduction

When you purchase a VPS (Virtual Private Server) from DomainIndia.com, you gain complete control over your hosting environment. One of the most essential ways to manage your VPS is through SSH (Secure Shell).

SSH provides a secure, encrypted command-line connection to your server, enabling you to perform administrative tasks, manage applications, configure services, and monitor performance -- all from your local computer.

This guide walks you step-by-step through accessing your DomainIndia VPS using the password authentication method.


Prerequisites

Before connecting, ensure you have:

  • An active VPS hosting plan with DomainIndia.com

  • Your VPS IP address (provided in your welcome email)

  • The root username (default: root)

  • The root password (sent securely during provisioning)

  • An SSH client installed on your local system


Step 1: Install an SSH Client

Choose based on your operating system:

Windows

  • PuTTY - lightweight & free

  • MobaXterm - advanced features + built-in SFTP

macOS

  • Terminal (pre-installed)

  • iTerm2 - advanced & customizable

Linux

  • Terminal (pre-installed on most distributions)

  • If missing, install manually:

    • Ubuntu/Debian sudo apt install openssh-client

    • CentOS/RHEL sudo yum install openssh-clients


Step 2: Connect to Your VPS

Windows (PuTTY)

  1. Open PuTTY

  2. In Host Name, enter your VPS IP (e.g., 136.243.177.71)

  3. Set Port = 22

  4. Select SSH as the connection type

  5. Click Open

  6. At the prompt, type:

code
root 
  • Enter your root password (input hidden for security)

  • macOS & Linux (Terminal)

    1. Open Terminal

    2. Run:

    code
    ssh root@your-vps-ip 
    

    Example:

    code
    ssh [email protected] 
    
  • Enter your root password when prompted


  • Step 3: Verify Connection

    If login succeeds, you'll see a prompt like:

    code
    root@vps-hostname:~# 
    

    You are now connected to your VPS as the root user.


    Security Best Practices

    Password login is convenient but less secure. Improve safety with these steps:

    • Change your root password immediately after first login

    • Use a strong password (12+ characters, mixed case, numbers, symbols)

    • Create a new sudo user and disable direct root login

    • Restrict SSH access to trusted IPs via firewall (CSF/UFW)

    • Change default port 22 to a custom port

    • Switch to SSH key authentication (highly recommended)

    See our advanced guide: "How to Access Your VPS Using SSH Key Authentication"


    Troubleshooting

    Issue Cause Fix
    Connection timed out Firewall blocking port 22 Open port 22 in firewall/CSF/security group
    Access denied Wrong login credentials Ensure username = root & correct password
    Host unreachable Wrong IP / DNS issue Verify VPS IP in client area, use direct IP
    PuTTY closes instantly Invalid login Recheck IP, port, password
    Too many failed attempts IP auto-blocked by firewall Contact [email protected] to whitelist

    Conclusion

    You've successfully learned how to access your DomainIndia VPS using SSH (password method). This gives you complete control to configure and manage your server remotely.

    Next Step: Strengthen your VPS security by setting up SSH key authentication and disabling password login.


    Further Resources


    This upgraded article is clear, technically strong, SEO-friendly, and beginner-friendly, with added security practices & troubleshooting tips.

    Note: CentOS has reached end-of-life. If you are setting up a new server, we recommend using AlmaLinux or Rocky Linux as a drop-in replacement. The commands and procedures in this article apply equally to AlmaLinux and Rocky Linux.

    Was this article helpful?

    Your answer helps us decide what to improve next.

    Still need help? Open a support ticket and our team will reply.

    Prefer an app? Add this site to your home screen.Get the app
    How to Access Your DomainIndia.com VPS Using SSH - Knowledge Base