Forums

VSCode SSH Error

Greetings everyone,

i would like to ssh with VSCode into my PythonAnywhere Account. But when i try to connect i get the following error, now i've read that with the beta of the new virtualization it is possbile to use VSCode with PythonAnywhere.

Below is the error from the VSCode Server Log:

node: ../deps/uv/src/unix/core.c:556: uv__close_nocheckstdio: Assertion `fd > -1' failed. Aborted

No problem. I have enabled it for your account.

Would you please enable that for my account(s) ? (greg & drdelozier) Thanks!

@drdelozier it's already enabled for your accounts, but actually, it's not possible to use it via ssh yet. Our new virtualization works in web apps, consoles, and tasks. We still have to make it work for ssh.

If you are still looking for an solution to use PythonAnywhere with VSCode i recommend

https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs

It will enable you to work directly in your PythonAnywhere Filesystem.

That looks great -- thanks for sharing it!

Has any progress been made on allowing VSCode remote access? VSCode is really popular, so it would seem like something useful to get done. Thanks!

No, we still need to get the system working effectively for consoles before we can port it over to SSH sessions.

Does it work yet?

Not yet, no.