mkloubert / vscode-deploy-reloaded

Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-deploy-reloaded
GNU Lesser General Public License v3.0
163 stars 39 forks source link

Is it possible to input ProxyCommands in settings.json ? #129

Open jeandut opened 5 years ago

jeandut commented 5 years ago

Description

My issue is more a feature request. I would like to be able to edit files with vscode on a distant machine that can only be accessed by another distant machine. In normal ssh I can just use ProxyCommand. Would it be possible to modify some parameters of the settings.json to get the same behavior ?

Example config

  "deploy.reloaded": {
        "packages": [
            {
                "name": "vscode-remote",
                "deployOnSave": true,
                "targets": ["secondserver"]
            }
        ],
        "targets": [
            {
                "type": "sftp",
                "name": "secondserver",
                "description": "second server",
                "dir": "/somedir/",
                "host": "some IP",
                "port": port,
                "user": "some user",
                "privateKey": "path to id_rsa file",
                "deployOnSave": true,
        "proxycommand": NEW-FIELD
            },
            {
                "type": "sftp",
                "name": "firstserver",
                "description": "first server",
                "host": "some IP",
                "port": port,
                "user": "some user",
                "privateKey": "path to id_rsa file",
            },

        ]

Your environment

CharlieCheckpt commented 5 years ago

Hi @mkloubert , thank you for this amazing package!

I also think it would be great to have a proxy command in settings.json, or maybe it already exists (I couldn't find it in the wiki) ?