Ortus BoxLang Cloud Servers
  • Welcome To The Cloud
  • Intro
    • Overview
    • About this Book
      • Author
    • EULA
  • aws
    • Overview
    • Ubuntu Based Images
      • BoxLang with CommandBox
      • Boxlang MiniServer with Nginx
      • Other Engines
        • Lucee + Nginx
          • Managing your web site
            • Connecting to your server
          • Changelog
        • CommandBox + Nginx
          • Managing your web site
          • Connecting via WinSCP
            • Connecting via VSCode
              • How to customize sites
              • Changelog
    • Windows Based Images
      • BoxLang with CommandBox
      • BoxLang MiniServer with IIS
      • Other Engines
        • Lucee + IIS-Boncode
          • Managing your web site
          • Connect with VSCode
          • Changelog
        • Commandbox + Boncode
        • Contentbox 5
          • Running Contentbox
          • Connect with VSCode
  • microsoft
    • Overview
    • Ubuntu Based Images
      • BoxLang with CommandBox
      • BoxLang Miniserver with Nginx
    • Windows Based Images
      • BoxLang with CommandBox
      • BoxLang Miniserver + IIS
  • googl
    • Coming Soon...
  • Digital Ocean
    • Coming Soon..
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. aws
  2. Ubuntu Based Images
  3. Other Engines
  4. CommandBox + Nginx
  5. Connecting via WinSCP

Connecting via VSCode

VSCode is one of the hottest new editors on the market. We will show you how to connect via VSCode using the VSCode Remote Development Extension.

PreviousConnecting via WinSCPNextHow to customize sites

Last updated 4 years ago

Was this helpful?

You can install the by visiting the URL or opening VSCode and clicking the extension load button in the IDE and searching for "Remote Development."

Steps to connect to ec2.

  • Click in the green box in the bottom left corner of VSCode. This will open a select box already populated with different Remote Development choices. You want to select Remote-SSH: Open SSH Configuration File...

  • If you have not created a configuration file you will have this option. Remote-SSH: Add New SSH Host... Select that instead.

  • Your configuration file should look something like this after you fill it out.

Host ColdBoxDemo
    User ubuntu
    HostName 34.236.192.135
    IdentityFile ~/.ssh/my-pem-that-i-downloaded-when-creating-ec2.pem
  • Having done that it is time to connect to your ec2 instance. Let's click the green button in the lower left corner. The same one we used to open the configuration file. Let's select "Remote-SSH: Connect Current Window to Host..."

  • If all works you should have a VSCode screen that looks like the one below. If it does not work you can do what I did, that is to downgrade to VSCode 1.36.1. You can do that with Chocolatey.

choco install vscode --version=1.36.1 -y
VSCode Remote Development Extension
Remote Development Extension
Remote-SSH: Open SSH Configuration File...
Remote-SSH: Connect Current Window to Host...
Notice you are on the ec2 server. You can run CommandBox Commands from here.