Remote SSH Raspberry Pi Using Visual Studio Code

Now we can easily remote our Raspberry Pi using SSH on Visual Studio Code.

Introduction

Sometimes I just want to write a python code in Raspberry Pi. I have a computer (Windows), so I will not setup another computer (Raspberry Pi). Remote it through VNC is a good option, but it requires a good network connection to load all the OS GUI. Remote using SSH is another lightweight option and normally we will use PuTTy software, but it is not convenient to write a code. Then I found another option, remote using SSH, but this time I’m using Visual Studio Code. It is convenient to explore folders, execute commands as well as write a code. Let’s try!

Video

This video shows how to remote SSH your Raspberry Pi using Visual Studio Code.

Hardware Preparation

This is the list of items used in the video.

Sample Script

This is sample script to connect to WiFi

country=MY
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SSID"
psk="Password"
key_mgmt=WPA-PSK
}

view raw
wpa_supplicant.conf
hosted with ❤ by GitHub

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Making A Lucky Draw Device Using Raspberry Pi Pico
Raspberry Pi Pico VS Arduino MKRZero
Raspberry Pi Pico VS Teensy LC
A New Challenger in MCU Platform – Raspberry Pi Pico
Raspberry Pi Pico VS Arduino UNO
Scroll to Top