1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

New backend flag indicating support for CONF_ssh_nc_host.

This flag is set in backends which can be used programmatically to
proxy a network connection in place of running a shell session. That
is true of both SSH proper, and the psusan ssh-connection protocol.

Nothing yet uses this flag, but something is about to.
This commit is contained in:
Simon Tatham
2021-05-22 11:27:19 +01:00
parent 1e726c94e8
commit 62b694affc
2 changed files with 4 additions and 0 deletions

View File

@ -1221,6 +1221,7 @@ const BackendVtable ssh_backend = {
.id = "ssh",
.displayname = "SSH",
.protocol = PROT_SSH,
.flags = BACKEND_SUPPORTS_NC_HOST,
.default_port = 22,
};
@ -1245,4 +1246,5 @@ const BackendVtable sshconn_backend = {
.id = "ssh-connection",
.displayname = "Bare ssh-connection",
.protocol = PROT_SSHCONN,
.flags = BACKEND_SUPPORTS_NC_HOST,
};