How to Connect to a Linux VPS Using SSH from Windows CMD and Bitvise

Here’s a step-by-step tutorial on how to connect to a Linux VPS via SSH from Windows, using two methods:

🔹 Part 1: Connect to Linux VPS Using Command Prompt (CMD)

✅ What You Need:

  • A Linux VPS (IP address, username, and password)
  • SSH enabled on your VPS (usually enabled by default)
  • Windows 10/11 (has built-in SSH in CMD)

🔧 Steps:

  1. Open Command Prompt
    • Press Win + R, type cmd, and hit Enter.
  2. Use SSH Command
    Type the following command: ssh username@server_ip Replace:
    • username with your VPS username (usually root)server_ip with your VPS IP address
    Example: ssh [email protected]

Screenshot

  1. Accept the Key
    • On first connection, you’ll be asked: Are you sure you want to continue connecting (yes/no)?
    • Type: yes
  2. Enter Password
    • When prompted, enter your VPS password.
    • Note: The cursor won’t move — this is normal for Linux password input.
  3. You’re In!
    • You now have terminal access to your Linux VPS.

🔹 Part 2: Connect Using Bitvise SSH Client (Free GUI Tool)

✅ What You Need:


🔧 Steps:

  1. Download and Install Bitvise
  2. Open Bitvise SSH Client
  3. Fill in Login Details:
    • Host: Your VPS IP
    • Port: 22 (default for SSH)
    • Username: root or your VPS user
  4. Authentication
    • Initial Method: password
    • Password: your VPS password
  5. Optional Settings:
    • You can save the profile for future logins by clicking Save Profile As…
  6. Click “Login”
  7. Accept Host Key:
    • On first login, a pop-up will show asking to accept the host key. Click Accept and Save.
  8. Connected!
    • You’ll see:
      • A terminal window (like a Linux shell)
      • Graphical SFTP file manager (to upload/download files)

📝 Tips:

  • Enable root SSH login: Some VPS providers disable root login. Use a user like ubuntu and then sudo su after login.
  • Security Tip: Use SSH keys instead of password for better security.
  • Connection refused? Ensure your VPS has SSH enabled (systemctl status ssh) and port 22 open in the firewall.
Leave a Reply 0

Your email address will not be published. Required fields are marked *