Skip to content

VS Code ssh to Raspberry Pi

Kane edited this page Nov 3, 2022 · 2 revisions

With this setup, you can ssh your Pi anywhere with VS Code.

Step1: Install SSH tools in VS Code

vscodessh

Step2: Get Raspberry Pi IP

ifconfig

Step3: Local SSH with VS Code

Click the left-down button. Untitled Untitled Untitled Untitled Press enter and input your password(default: raspberry)

Step4: Outside SSH into your home Raspberry pi

cpolar version
cpolar authtoken xxxxxxxxxxxx
# start with cpolar
sudo systemctl enable cpolar
sudo systemctl start cpolar
sudo systemctl status cpolar

ssh pi@1.tcp.vip.cpolar.cn -p <port number>

Please see the detail here.

Step5: Install Git Graph

Untitled