> ## Documentation Index
> Fetch the complete documentation index at: https://guide.cloudsania.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Set Up Virtual Servers Connector

> Step-by-step guide to setting up Virtual Servers connector in Cloudsania

## Overview

This guide explains how to set up and configure a [Virtual Servers connector](/cloud-connectors/vps-connector#authentication-methods) in Cloudsania, allowing you to manage virtual private servers across different providers.

<Note>
  **Prerequisites**

  1. You have an active Virtual Private Server (VPS)
  2. Valid SSH key
     server credentials
</Note>

## Setting Up a Virtual Servers Connector

1. On the side navbar, click on "Cloud Connnectors".

2. Click on "New Connector" button on the Cloud Connector Page.

<img src="https://mintcdn.com/cloudsania-f754ba9f/wAuaVoo7oH7bpLSP/images/aws-connector/no-connector-state.png?fit=max&auto=format&n=wAuaVoo7oH7bpLSP&q=85&s=b1b72589a996b76712be14c465f5fbb8" alt="" width="2592" height="1466" data-path="images/aws-connector/no-connector-state.png" />

3. Select the "Virtual Servers" option from the list of cloud providers displayed and click on the "Confirm" button.

<img src="https://mintcdn.com/cloudsania-f754ba9f/wAuaVoo7oH7bpLSP/images/vps-connector/vps.connector-option.png?fit=max&auto=format&n=wAuaVoo7oH7bpLSP&q=85&s=cb74ae551c6079e70a39c42daf26f882" alt="" width="2870" height="1570" data-path="images/vps-connector/vps.connector-option.png" />

4. Provide Your Connector Details.
   * Enter Your Connector Name.
   * Select your environment from the dropdown list.
   * Specify your VPS Host and Port
   * Click on the "Continue" button

<img src="https://mintcdn.com/cloudsania-f754ba9f/wAuaVoo7oH7bpLSP/images/vps-connector/vps-connector-details.png?fit=max&auto=format&n=wAuaVoo7oH7bpLSP&q=85&s=b6a40747dc89f255de9914236dbb2365" alt="" width="2870" height="1624" data-path="images/vps-connector/vps-connector-details.png" />

5. Configure Your Connector Access. Choose your preferred [connector authentication type](/cloud-connectors/vps-connector#authentication-methods).

<Tabs>
  <Tab title="Public Key Authentication (Recommended)">
    Grant Cloudsania access to your VPS server using public key authentication flow.

    6. Enter your VPS Username

    7. Click on the dropdown to choose your public key- You can create an [SSH key](/account-settings/ssh-key-setup) if none exist for your organisation.

    8. Click on the "Create" button

           <img src="https://mintcdn.com/cloudsania-f754ba9f/wAuaVoo7oH7bpLSP/images/vps-connector/public-key-authentication.png?fit=max&auto=format&n=wAuaVoo7oH7bpLSP&q=85&s=35bf4f7c6dedd03f7c78f9ab28c75aa1" alt="" width="1446" height="816" data-path="images/vps-connector/public-key-authentication.png" />

    9. Upon successful creation, your VPS connector will now appear on the "Cloud Connectors" page and the status marked as "Active"

    Your Virtual Server Connector is now successfully configured and ready for use! 🎉
  </Tab>

  <Tab title="Password Based Authentication">
    Grant Cloudsania access to your VPS server using the SSH password authentication flow.

    6. Enter your VPS Username and Password in the relevant fields

    7. Click on the "Create" button

           <img src="https://mintcdn.com/cloudsania-f754ba9f/wAuaVoo7oH7bpLSP/images/vps-connector/password-authentication.png?fit=max&auto=format&n=wAuaVoo7oH7bpLSP&q=85&s=67318a60c82ed9e95be8ec46cf01ab91" alt="" width="2874" height="1630" data-path="images/vps-connector/password-authentication.png" />

    8. Upon successful creation, your VPS connector will now appear on the "Cloud Connectors" page and the status marked as "Active"

    Your Virtual Server Connector is now successfully configured and ready for use! 🎉
  </Tab>
</Tabs>
