Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The reliable way to connect to a VPS in Visual Studio Code is Microsoft’s Remote – SSH extension. First prove that ordinary SSH works from your computer, then let Remote-SSH install VS Code Server on the VPS. Once connected, File > Open Folder opens directories that remain on the VPS while the editor, terminal, and compatible extensions operate in the remote context.

What the connection actually does

Remote-SSH does not copy your VPS project to your laptop. Your local Visual Studio Code window becomes the interface, while files, terminals, language services, and other compatible extensions run against the remote machine. The extension connects through the VPS’s SSH server and installs a component called VS Code Server on the remote operating system. The server handles the editor’s remote operations; your source files stay in their VPS directories.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You therefore need two working pieces: an OpenSSH-compatible client on your computer and an SSH server on the VPS. Remote-SSH is designed for remote machines, virtual machines, or containers that expose a running SSH server.

Check the prerequisites

Local computer

  • Install Visual Studio Code.
  • Have an OpenSSH-compatible client available. On many Linux and macOS systems this is already present; Windows can use a supported OpenSSH client from PowerShell or another terminal.
  • Install the Microsoft Remote – SSH extension. The Remote Development extension pack also includes it.

VPS

  • The VPS must be running an SSH server and must be reachable on its configured SSH port, normally port 22.
  • You need a login account, its host name or IP address, and either its password or a usable SSH private key.
  • The operating system must be supported by VS Code Server. Microsoft lists x86_64 Debian 8 or later, Ubuntu 16.04 or later, CentOS/RHEL 7 or later, supported ARM Ubuntu/Raspberry Pi systems, and Windows 10 or Windows Server 2016/2019 (version 1803 or later) with the official OpenSSH Server.
  • For remote hosts, Microsoft lists 1 GB of RAM as the minimum and recommends at least 2 GB of RAM with a two-core CPU.

Remote Linux requirements

On Linux, the account used for the connection needs Bash at /bin/bash, tar, and either curl or wget. Current support is for glibc-based distributions. Alpine Linux, which uses musl libc, is not supported by Remote-SSH. Some ARM extensions can also fail if they contain native code built only for x86.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.

Install Remote-SSH in Visual Studio Code

  1. Start Visual Studio Code.
  2. Open the Extensions view with the activity-bar Extensions icon or the Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS) shortcut.
  3. Search for Remote – SSH, select Microsoft’s extension, and choose Install. If you prefer, install the Remote Development extension pack instead.
  4. Leave Visual Studio Code open; the extension adds the Remote Explorer view and the Remote-SSH commands used later.

Choose and prepare authentication

Remote-SSH can use a password, but Microsoft recommends key-based authentication. A password may be requested more than once during setup, whereas an accepted key lets the SSH client authenticate consistently and can be protected by a local passphrase.

Method Security and convenience What you must manage
Password Simple to start, but repeated prompts are common and the password must be entered during the connection process. The VPS account password and any provider or firewall policy that permits password login.
SSH key Recommended for recurring connections; the private key can remain protected by a passphrase and is not transmitted to the VPS. Generate the key, install its public half for the VPS account, protect private-key permissions, and keep a recovery route if the key is lost.

Generate a key when you need one

  1. Open a terminal or PowerShell window on your local computer.
  2. Run ssh-keygen -t ed25519 -b 4096. Accept the proposed file location or choose a location you can identify later, and set a passphrase when prompted.
  3. Add the generated public key to the VPS account using the access method supplied by your VPS administrator or provider. The private key stays on your local computer.
  4. Restrict access to the private-key file according to your operating system’s SSH requirements. If permissions are too broad, OpenSSH may refuse to use the key.

Do not paste a private key into Visual Studio Code settings or into a project repository. Remote-SSH reads the key through your normal OpenSSH configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Test SSH outside Visual Studio Code first

Before investigating the extension, verify the underlying connection from a terminal. Replace the placeholders with the same account and address you intend to use in VS Code:

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

ssh user@hostname

  1. Run the command in a terminal or PowerShell window.
  2. If this is the first connection, review the host-key prompt and accept it only when the host identity is expected.
  3. Enter the account password or allow the SSH client to use your private key.
  4. Confirm that you receive a shell prompt on the VPS, then type exit to return to your local computer.

A successful command-line login proves that DNS or the IP address, the SSH port, the firewall path, the account, and the basic credentials are working. Remote-SSH uses this same SSH path, so fix ordinary SSH errors before trying to diagnose VS Code.

Connect with Remote-SSH

  1. In Visual Studio Code, open the Command Palette with F1 or Ctrl+Shift+P on Windows/Linux, or Cmd+Shift+P on macOS.
  2. Run Remote-SSH: Connect to Host….
  3. Enter the same destination that worked in your terminal, such as user@hostname. If you have saved SSH hosts, choose one from the list instead.
  4. If Visual Studio Code asks which operating system runs on the VPS, select the appropriate remote platform. This lets the extension install the correct VS Code Server build.
  5. Wait while Remote-SSH connects and initializes VS Code Server on the VPS. The first connection can take longer because the server component must be downloaded and started.
  6. When the process succeeds, the status bar identifies the connected remote host. The window is now operating in a remote context.

If a password or key passphrase prompt appears, complete it in the dialog or terminal requested by your SSH client. Do not start a second connection while the server installation is still running; check the Remote-SSH output panel if the status does not change.

Open the VPS project and edit remote files

  1. With the remote window active, choose File > Open Folder.
  2. Browse to a directory on the VPS and select it. You can also use Open Workspace when the project is represented by a workspace file.
  3. Confirm that the Explorer shows the remote directory, not a similarly named local folder.
  4. Open the integrated terminal. Commands entered there run on the VPS, so tools such as package managers, build systems, and version-control commands affect the remote project.
  5. Install extensions when prompted for the correct context. Some extensions run locally, while language servers, debuggers, and tools that inspect project files need to be installed on the remote side.

Saving a file writes directly to the VPS. The editor does not create a hidden local copy that you must upload afterward. Use the VPS account’s normal file permissions; if a directory is not writable, select a location owned by the account or correct permissions through your server administration process rather than running the editor as an unnecessarily privileged user.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

Save the VPS in an SSH configuration

For a host you use repeatedly, a local SSH configuration entry is more reliable than retyping an address. In Visual Studio Code, run Remote-SSH: Open Configuration File… from the Command Palette and choose the configuration file used by your OpenSSH client. Add an entry like this:

Host my-vps
    User deploy
    HostName 203.0.113.10
    IdentityFile ~/.ssh/id_ed25519

Host is the short name shown in Remote Explorer and the host picker. User selects the VPS account, HostName is the DNS name or IP address, and IdentityFile points to the private key. If the server listens on a nonstandard SSH port, add the OpenSSH Port setting to that host entry, then test the alias from a terminal with ssh my-vps.

After saving the file, run Remote-SSH: Connect to Host… again and select my-vps. Saved hosts also appear in the Remote Explorer view.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
Connection style Best use Trade-offs
Enter user@hostname manually A one-time connection or a quick test. Fastest initial setup, but you must retype the destination and separately manage key or port details.
SSH configuration alias Daily work, several VPSs, a nonstandard port, or a specific identity file. Requires one local configuration entry, then gives repeatable selection and centralized connection settings.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot the connection

The SSH command times out

A timeout normally means the network path is not reaching the SSH service. Check that the VPS is running, the DNS name resolves to the current IP address, and the VPS firewall and provider network permit the SSH port, normally 22. Test ssh user@hostname again after correcting those values. Remote-SSH cannot bypass a blocked port.

The host name or address is wrong

Compare the address in your provider’s control panel with the value in your command and SSH configuration. If you recently rebuilt the VPS, its IP address may have changed. Correct HostName or use the current address, then repeat the command-line test.

Authentication is rejected

Confirm that the account name is correct and that the public key was installed for that account. If you use a key, verify that IdentityFile points to the matching private key and that the file permissions are restricted. Test the exact alias or destination in a terminal; an authentication failure there must be resolved before VS Code can connect.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

VS Code Server cannot download or start

After SSH succeeds, Remote-SSH must obtain and launch VS Code Server on the VPS. The remote machine may need outbound HTTPS access on port 443 to update.code.visualstudio.com and vscode.download.prss.microsoft.com. Extension installation may also need access to the Visual Studio Code Marketplace and its content-delivery network. Check egress firewall rules, proxy requirements, available disk space, and the Remote-SSH output panel. On Linux, verify that /bin/bash, tar, and either curl or wget are installed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The remote platform is unsupported

Alpine Linux and other non-glibc systems are outside current Remote-SSH support. A supported ARM operating system can connect, but an extension that includes x86-native code may fail on ARM. In that case the SSH connection can still work while that particular extension remains unavailable.

You are trying to use PuTTY on Windows

Remote-SSH does not support PuTTY as its SSH client. Configure and test a supported OpenSSH client instead, then point your SSH configuration at the appropriate OpenSSH key.

The folder opens but tools do not behave remotely

Check the status bar before running commands. If the window is not marked as connected to the VPS, you opened a local window or the connection ended. Reconnect through Remote-SSH: Connect to Host…, open the project folder again, and install the needed extension in the remote context when Visual Studio Code offers that choice.

Disconnect safely and reconnect later

When you finish, choose File > Close Remote Connection. This closes the remote VS Code window; it does not shut down the VPS or stop services running there. The next session is quicker when the VPS remains available and its SSH alias is saved, but the SSH test remains a useful check after firewall, DNS, account, or key changes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Practical connection checklist

  • Visual Studio Code and Microsoft Remote – SSH are installed locally.
  • The VPS runs a supported SSH server and operating system.
  • Your computer can run an OpenSSH-compatible client.
  • ssh user@hostname succeeds before you open Remote-SSH.
  • Key permissions are restricted when key authentication is used.
  • The VPS has at least 1 GB RAM; 2 GB and two CPU cores are Microsoft’s recommendation.
  • Linux hosts provide Bash, tar, and curl or wget.
  • Outbound HTTPS is allowed if VS Code Server or extensions need to download.
  • You select the remote host, then use File > Open Folder to open the VPS directory.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.