Errors trying to set remote project interpreter via SSH (Windows Instance)

Answered

I am using PyCharm 2017.3 on macOS and I have an EC2 Windows Server 2016 where I want to build my projects.

I am using OpenSSH and it works fine through command line. Here are my project interpreter settings:

When I click on "Install packaging tools", I get this error:

I cannot seem to find any information on why this isn't working. I'd prefer to use WSL but my Windows Server 2016 is not up to date.

 

When I try to run my project, I get this error:

Couldn't refresh skeletons for remote interpreter
failed to run generator3.py for ssh://kevin@10.247.16.110:22/Users/kevin/AppData/Local/Programs/Python/Python36/python.exe, exit code 1, stderr:
-----
'env' is not recognized as an internal or external command,
operable program or batch file.
-----

I'm assuming it's because when it tries to open a file, it'll run

ssh://kevin@10.247.16.110:22/Users/kevin/AppData/Local/Programs/Python/Python36/python.exe -u  /C:/Users/kevin/Desktop/Test/test.py

when it should be running it like this

ssh://kevin@10.247.16.110:22/Users/kevin/AppData/Local/Programs/Python/Python36/python.exe -u  C:/Users/kevin/Desktop/Test/test.py
6 comments
Comment actions Permalink

Same problem with me using PyCharm on Linux Mint and trying to connect a remote interpreter on Windows Server Machine

 

0
Comment actions Permalink

Hi Shehzi! Unfortunately, SSH to Windows machines is not supported right now. I am sorry for the inconvenience. Please feel free to vote for PY-20952. It will help us to prioritize the development process.

0
Comment actions Permalink

Hi Pavel,

is there any solution for Windows.
I am trying to use SSH interpreter to remote debug on a Windows machine, but I still see the failure described by Kevin 

PyCharm 2018.2.3 (Professional Edition)
Build #PY-182.4323.49, built on September 4, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

0
Comment actions Permalink

Hi Peter,

As I can see the issue is in Open state, meaning that it is not yet done and released. Please stay tuned.

0
Comment actions Permalink

Hi there,

 

Are there any solutions for Windows yet?

Pycharm 2018.4.3 (Pro)

Windows 10

0

Please sign in to leave a comment.