1 of 1 Servers
DiscordWebsiteVPS Dashboard
1 of 1 Servers
1 of 1 Servers
  • Welcome to 1 of 1 Servers
  • 1 of 1 Knowledge Base
    • Customer Guides
      • Adding Developer Access
      • Connect to VPS via Visual Studio Code
      • Dedicated Server vs VPS
      • Product Addons
      • Server Transfers Guide for FiveM
      • What is a CDN | Proxy Cache
    • Networking Guides
      • Basic Network Troubleshoot
      • CloudFlare Proxy
        • Setup
        • DNS Settings
      • Disable UDP for RDP
      • How to run Wireshark
      • How to run Windows MTR
      • Opening your Windows Ports
      • Remote Desktop Connection
      • Speed Tests
      • SQL Issues
    • Troubleshooting Error Codes
      • Remote Desktop Connection Errors
      • VPS Server Errors
  • 1OF1 Set Up Guides
    • API
      • CDN API
      • DDoS Shield API
    • CDN | Proxy Cache
      • CDN | Proxy Cache Setup Guide
    • Dedicated Servers
      • Dedicated Server Setup Guide
        • After Purchase
        • Link Your Discord
        • Manage Your Dedicated Server
    • Graffana Logging
  • VPS Servers
    • VPS Setup Guide
      • After Purchase
      • Link Your Discord
      • Deploy your Operating System
      • Getting Your VPS Login Details
      • Remote Desktop & SSH Guides
        • Logging into Remote Desktop
        • Logging into VPS with Linux OS
          • Creating SSH Key for VPS Install
    • VPS Upgrade or Downgrade
  • 1OF1 Dashboards
    • Dedicated Dashboard
      • Client Area
      • Sever Management and Information
      • My Account
      • Logs
    • DDoS Dashboard
      • IP Management
      • Creating Rules
        • Creating Presets
      • Creating a Webhook
    • Game Server Dashboard
      • Login Creation & Linking Discord
      • System
        • Console
        • Server Details
        • SFTP Details
        • Audit Log
      • Management
        • File Manager
        • Database
        • Backups
        • Subusers
        • Allocations
      • Configuration
        • Startup Parameters
        • Schedules
        • Advanced
      • Tools
        • Modpack Manager
        • Plugin Manager
    • VPS Dashboard
      • Customer Area
      • Server Management
      • Media
      • Password Reset & VNC
      • Network
      • Storage
      • Backups
      • Sharing
  • 1OF1 Game Guides
    • FiveM
      • Car Pack Installation
      • Clothing Installation
      • Common Errors Troubleshoot
        • CURL 56 ERROR
        • CURL 28 ERROR
        • "Fetching server variables..."
        • "Downloading server manifest..."
        • “...are you allowing UDP Packets?”
        • Thread Hitch Warnings
      • External pma-voice server
      • External Zumble/Rust Mumble Server
      • FiveM Convars Definitions
        • FiveM Cities | Opinion Article
          • Population
          • Donations
          • Developing
          • Staff Members
          • Departments
        • MLO Installation
        • Two Servers in One
      • SQL Backup
    • Game Server Guides
  • 1OF1 IN THE COMMUNITY
    • Giveaways
    • 1OF1 Merch
    • Donations
    • Fivemerr
    • Project Sloth
    • Guilda Bot
    • NextV Codes
  • 1OF1 Discounts & Partners
    • Project Sloth
    • Snipe Scripts
    • UZStore
  • Kreativ Signs
Powered by GitBook
On this page
  • To Disconnect
  • To Reconnect
  1. 1 of 1 Knowledge Base
  2. Customer Guides

Connect to VPS via Visual Studio Code

Quick guide on how to connect to your VPS using Visual Studio Code

PreviousAdding Developer AccessNextDedicated Server vs VPS

Last updated 11 days ago

Please note that to follow this guide you must complete some pre-requisite steps to ensure that your VPS has a supported SSH Server. Make sure to install Open SSH on both your local machine AND your VPS!!!

  • Windows OS: follow .

  • Ubuntu/Debian OS: follow .

Follow these quick steps to connect to your VPS using Visual Studio Code:

1

Open Your VPS in Your VPS Dashboard

  • Log into your , go to "My Services," locate your VPS, and open its VPS Dashboard by clicking "Manage" then "Open Control Panel."

  • Go to the "Network" tab to have your server's IP for later.

2

Ensure OpenSSH is installed & running on your VPS & Local machine

For Windows OS:

  • Make sure Open SSH is running by entering the following command in PowerShell:

ssh your-vps-username@your-vps-ip
  • Enter your password when prompted (the password will be invisible as you are typing it!)

3

Install the Remote SSH Extension on Visual Studio Code

  • Open your Visual Studio Code application

  • Navigate to the Extensions: Marketplace menu

  • Search "Remote SSH"

  • Install the first option (Open any folder on a remote machine using SSH...)

4

Add Your VPS in Remote Explorer

  • Navigate to the Remote Explorer menu

  • Click the "New Remote" plus button to add your VPS's SSH Target

  • A pop-up will appear for you to enter your SSH key within the text box. Enter the following:

ssh user@[Your VPS IPv4 Address]
**Replace "user" with the username you use to log into your VPS**
(Standard: root = Linux, Administrator = Windows)
  • Hit "Enter" on your keyboard, then hit "Enter" again to select the first option.

    • First option is typically C:\Users\[your username]\.ssh\config

5

Connect to Your VPS

  • Under the SSH Targets drop-down, you will see your VPS Server's IP has populated

  • Right-click your IP and select "Connect to Host in Current Window"

  • A pop-up will appear with a list of Operating Systems, select the OS that you built your VPS with.

  • A new pop-up will appear, prompting you to enter your password. Enter the password that you would use to connect to your VPS Server then press "Enter" on your keyboard.

6

Opening Your Folder

  • Navigate up to the Explorer menu, above the Search magnifying glass

  • Click "Open Folder"

  • Select the Folder that you want to are wanting to work on

  • Click "OK"

  • You will be prompted to enter your password again, do so and hit "Enter".

  • A pop-up will appear to confirm that you trust the author of the files in the folder, click "Yes, I trust the authors" and click the check box so the window doesn't appear everytime you want to edit this file.

Congratulations, you did it! You can now connect to your VPS using VSC and edit, upload, or even run terminal commands on your VPS Server!

To Disconnect

  • Click on the "File" tab and search for "Close Remote Connection" or "Close Folder"

To Reconnect

  • Navigate to Remote Explorer (like in Step #4), locate your IP under the SSH Targets drop-down

  • Under your VPS Servers IP, the folder that you opened previously will have populated. Right-click the folder and select "Open on SSH Host in Current Window."

  • Enter your password when prompted.

this Microsoft guide
this Ubuntu guide
billing portal
Add New Remote
Current Window
Locating Folder