I'm working on a project using the Raspberry Pi Zero 2w, and I need to create some scripts to run on it. However, coding with nano is not intuitive for me and takes more time.
I tried to connect with the SSH remote extension from VS Code. At first, everything loaded, but when the code was edited or any changes were made, the connection failed and printed that error on my screen: "Could not establish connection to '<BOARD IP>'".
What can I do to solve this problem?
Failed to save 'client.py': ENOPRO: No file system provider found for resource 'vscode-remote://ssh-remote%2B192xxxxxxxx/home/user/test/client.py'
~/.ssh/config file
Host 192.xxxxxxxxxx
HostName 192.xxxxxxxxxx
User user
ServerAliveCountMax 3
ServerAliveInterval 60
etc/ssh/ssh_config file
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP no
# AddressFamily any
ConnectTimeout 0
# StrictHostKeyChecking ask
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
IdentityFile ~/.ssh/id_ecdsa
IdentityFile ~/.ssh/id_ed25519
Port 22
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
I tried to connect with the SSH remote extension from VS Code. At first, everything loaded, but when the code was edited or any changes were made, the connection failed and printed that error on my screen: "Could not establish connection to '<BOARD IP>'".
What can I do to solve this problem?
Failed to save 'client.py': ENOPRO: No file system provider found for resource 'vscode-remote://ssh-remote%2B192xxxxxxxx/home/user/test/client.py'
~/.ssh/config file
Host 192.xxxxxxxxxx
HostName 192.xxxxxxxxxx
User user
ServerAliveCountMax 3
ServerAliveInterval 60
etc/ssh/ssh_config file
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP no
# AddressFamily any
ConnectTimeout 0
# StrictHostKeyChecking ask
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
IdentityFile ~/.ssh/id_ecdsa
IdentityFile ~/.ssh/id_ed25519
Port 22
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
Statistics: Posted by beatrizsetem — Wed Oct 02, 2024 2:04 pm — Replies 0 — Views 39