

Install the Azure Sphere extensions to the remote machine by searching for Azure Sphere in the Visual Studio Code extension panel and clicking the Install in SSH: button.

You may want to move the file to another directory and specify the absolute path in File > Preferences > Settings > Extensions > Remote - SSH: Config File.)Ĭonnect to the remote machine by executing the Visual Studio Code command View > Command Palette > Remote-SSH: Connect to host ( Shift+Ctrl+P). This sometimes causes permissions problems if your local machine is Windows. (By default, a file named config is written to the. First time only: Open Visual Studio Code from View > Command Palette > Remote-SSH: Add new SSH host, and enter SSH host information as prompted.If there isn't a project yet on the remote machine, you can either clone the samples repository or obtain a single project from the Microsoft Samples Browser.Connect the device to the local machine and, if the local machine is running Linux, run the azsphere_connect.sh script.Install the Azure Sphere SDK for Windows or Linux.Ĭode on the remote machine and device on the local machine.We strongly recommend that you set up your remote machine for key-based authentication.Install the Remote-SSH extension by searching for Remote-SSH in the Visual Studio Code extension panel and clicking the Install button. There are two Azure Sphere extensions, and installing either of them will install both: Azure Sphere UI for the UI component, and Azure Sphere for the workspace component.
