Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4146

Networking and servers • Re: SSH Connection fails after a few minutes

$
0
0
Hi,

I am using Windows 11 (64) on a Lenovo Laptop and trying to connect to a PiZW2 running latest OS (Jan 2024)

I want to VNC from my laptop, and use VSCode on my laptop remotely for Python development.

I can successfully connect via VSCode and enter a few lines of code and run on the RPiZW2. I can also successfully connect vie RealVNC.

But after a few (small number) of minutes, the SSH connection fails and both VS Code and VNC are unable to reconnect. I have to reboot the RPiWZ2 and close/open the laptop applications to re-establish the connections.

I'm running out of hair to tear out.

Any suggestions?

Cheers

BH
Do you think the Pi is crashing? Maybe it is just dropping the network connection.

I'd temporarily plug a monitor and keyboard into it so I could see what is happening.

Statistics: Posted by ejolson — Sat Jan 20, 2024 7:23 am



Viewing all articles
Browse latest Browse all 4146

Trending Articles