[Experience Sharing] Remote SSH install failed — solution via manual server download (version-specific) #8840
Replies: 3 comments 6 replies
-
Hey @louhao1129, thanks so much for this writeup! It's great to know that the problem for you was due to interrupting the connection. A few other people have run into this same problem recently: #8807 I'll create an issue for making this experience better. Edit: #8848 |
Beta Was this translation helpful? Give feedback.
-
Hi all, I'm encountering a similar issue with Positron's Remote SSH, and I'd like to ask a question based on the excellent troubleshooting guide provided by @louhao1129. My situation is a bit different: I'm trying to connect from a macOS client to a Windows machine. My Windows machine is properly configured with OpenSSH Server, and I've successfully set up a reverse proxy with However, when I try to connect with Positron, the connection fails with the following error:
I checked the server's home directory ( Given that my Positron log shows the My question is: What is the correct download URL for the Positron server for a Windows machine? The provided URL template is: I need to figure out the correct Any help would be greatly appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Just want to say this applies to WSL connection problems also. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, just wanted to share an experience I had when using Positron’s Remote SSH feature. I believe it may help others who run into similar issues, especially those behind slow or restricted network environments.
🧩 Problem
When I first connected to a remote Linux server using Positron, it seemed to hang for quite a while. Thinking something was wrong, I interrupted the connection before it completed.
After that, every attempt to reconnect failed with errors like:
This was caused by a partially downloaded or corrupted server installation (
~/.positron-server/
) due to my premature cancellation.⚙️ Diagnosis
On first SSH connection, Positron downloads a version-specific server tarball (~100MB) from:
This happens on the remote server, not locally.
In my case, the remote server’s download speed was only ~1MB/s, so it took 2–3 minutes.
Cancelling during this process led to broken gzip/tar files.
✅ Solution Option 1: Let Positron download automatically (be patient!)
Delete the corrupted installation:
rm -rf ~/.positron-server/
Reconnect using Positron, and wait patiently (up to several minutes) until installation completes.
✅ Solution Option 2: Manually download the server tarball (recommended for slow or restricted networks)
On the remote server, create the version-specific directory:
Download the appropriate server tarball (example for version 2025.08.0-130):
Extract it with the correct strip option:
💡 Tips
DISTRO_COMMIT
andDISTRO_VERSION
from the Positron log output or install script.scp
it to the remote server.🙌 Thanks
Thanks to the Positron team for building a great R developer tool based on VS Code. Hope this helps someone save time and frustration during first-time setup!
Beta Was this translation helpful? Give feedback.
All reactions