![]() ![]() Wait, what? Which looking at the architecture, seems related to the way VS Code Remote Development works. One thing I spotted was the prompt in the bottom right corner of VS Code which was connecting via SSH, nice, and “Installing VS Code Server”. Fill in the login credentials to finish establishing a connection. ![]() Raspbian, the Pi-specific OS, is a Linux distribution based on Debian. Look for the “Connect to Host…” option: Contact □ Open the Command Palette and type “remote-ssh”. Let’s try to connect remotely via SSH to our Pi with VS Code using our new extension pack. To get the OS version we can use the cat command to find the release information: cat /etc/os-release Buster Pi When we previously SSH into the Pi we get a glimpse of the architecture version: Version dePi Looking at the extension documentation we can see it supports: ARMv7l (AArch32) Raspbian Stretch/9+ (32-bit). We need to make sure our Pi has one of those architectures. Now the one we are after for the time being is the Remote – SSH extension which allows me to connect to the Pi over SSH. Remote – WSL – Get a Linux-powered development experience from the comfort of Windows by opening any folder in the Windows Subsystem for Linux.Remote – Containers – Work with a separate toolchain or container based application by opening any folder mounted into or inside a container.Supports x86_64, ARMv7l (AArch32), and ARMv8l (AArch64) glibc-based Linux, Windows 10/Server (1803+), and macOS 10.14+ (Mojave) SSH hosts. Remote – SSH – Work with source code in any location by opening folders on a remote machine/VM using SSH.This Remote Development extension pack includes three extensions: Sticking with VS Code, there is an extension to help us do remote development: Remote extensions We want to work remotely on the Pi (the artist formerly known as Raspberry Pi □). Finally, got started with the Sense HAT and wrote some code to do stuff on the Pi! Working remote □□ Then to remember the host we added an entry to our SSH config file through VS Code. Set up set up key based/passwordless SSH authentication. Used the Remote – SSH extension which is part of the pack to connect to the Pi remotely over the network. We added the VS Code Remote Development extension pack. TLDR The goal is to work remotely on the Raspberry Pi. This is part of my series on learning to build an End-to-End Analytics Platform project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |