Using vscode remote on RPI
The Remote - SSH extension lets you use any remote machine with a SSH server as your development environment.
Login using SSH key
Create key
Create ssh key (private/public)
Tip
For simplicity (less secure) create key without passphrase
Copy key to remote
Copy the public key to remote machine
ssh-agent
If the private key has passphrase we need to type it every time we start ssh session. ssh-agent keep the private key after we type the passphrase once
VSCode Remote-SSH
The Remote - SSH extension lets you use any remote machine with a SSH server as your development environment. install and more
Remote-ssh usage
Add new remote

Connect

Edit ssh config
Edit remote name and other settings

- Change remote name
- Add x11 settings
Tip: Change prompt
| Add to .bashrc | |
|---|---|
VSCode project
All the file exists on the remote machine
use extensions.json file to control with extension will installed on the remote
