Remote SSH Raspberry Pi Using Visual Studio Code

Remote SSH Raspberry Pi Using 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

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 a better application."