Skip to content

Remote host does not have Python installed #23

@FredDgrv

Description

@FredDgrv

On windows 10, I added below conf to my settings.json. I'm using Mobaxterm, which manages pageant & server X.

    "ponyssh.hosts": { 
        "mylinux": {
           "host": "192.168.1.37",
           "username": "frederic",
           "privateKeyFile": "C:/pathtomykey/id_rsa",
           "python": "/usr/bin/python3.9"
        }
      }

And I get that output in vs code:

[2021-04-26 19:24:05] [info] Connection established
[2021-04-26 19:24:05] [info] Preparing worker script
[2021-04-26 19:24:05] [error] Error connecting to mylinux: Remote host does not have Python installed
[2021-04-26 19:24:05] [info] Connecting to mylinux: {
  host: '192.168.1.37',
  username: 'frederic',
  privateKeyFile: 'C:/pathtomykey/id_rsa',
  agent: 'pageant',
  privateKey: '*****'
}

on Linux:

$ whereis python
python: /usr/bin/python3.9-config /usr/bin/python3.9 /usr/lib/python2.7 /usr/lib/python3.9 /etc/python3.8 /etc/python3.9 /usr/local/lib/python3.9 /usr/include/python3.9

What did I do wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions