Add support for the (not quite) recently added 'proxy' field (normally calculated from a PuTTY session internally)

schemas
Kelvin Schoofs 7 years ago
parent 905999f620
commit f4acd6be1e

@ -66,6 +66,25 @@
"hop": {
"type": "string",
"description": "Use another SSH configuration as intermediate proxy (connection hopping)"
},
"proxy": {
"type": "object",
"description": "Define a SOCKS 4 or SOCKS 5 proxy to connect through",
"required": ["host", "port", "type"],
"properties": {
"host": {
"type": "string",
"description": "The hostname of the proxy"
},
"port": {
"type": "number",
"description": "The port of the proxy"
},
"type": {
"description": "The type of the proxy (socks4/socks5)",
"enum": ["socks4", "socks5"]
}
}
}
},
"basic": {
@ -79,6 +98,9 @@
},
"hop": {
"$ref": "#/definitions/fields/hop"
},
"proxy": {
"$ref": "#/definitions/fields/proxy"
}
}
},

Loading…
Cancel
Save