vscode-deploy-reloaded icon indicating copy to clipboard operation
vscode-deploy-reloaded copied to clipboard

Is it possible to input ProxyCommands in settings.json ?

Open jeandut opened this issue 5 years ago • 1 comments

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

  • Operating system: MacOs
  • Visual Studio Code version: 3.0
  • extensionVersion: 0.87.2

jeandut avatar Apr 09 '19 16:04 jeandut

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) ?

CharlieCheckpt avatar Apr 17 '19 13:04 CharlieCheckpt