mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-07 06:22:47 -05:00
Been meaning to do this for years: introduce a configuration option
to manually tweak the host name and port number under which the SSH host key is read and written. I've put it in the cross-platform Connection panel. Partly under the flimsy pretext that other backends _can_ use it if they so wish (and in fact it overrides the host name for title-bar purposes in all network backends, though it has no other effect in anything but SSH); but mostly because the SSH panel was too full already :-) [originally from svn r8033]
This commit is contained in:
8
config.c
8
config.c
@ -1721,6 +1721,14 @@ void setup_config_box(struct controlbox *b, int midsession,
|
||||
"IPv6", '6', I(ADDRTYPE_IPV6),
|
||||
NULL);
|
||||
#endif
|
||||
|
||||
s = ctrl_getset(b, "Connection", "identity",
|
||||
"Logical name of remote host");
|
||||
ctrl_editbox(s, "Logical name of remote host (e.g. for SSH key lookup):",
|
||||
'm', 100,
|
||||
HELPCTX(connection_loghost),
|
||||
dlg_stdeditbox_handler, I(offsetof(Config,loghost)),
|
||||
I(sizeof(((Config *)0)->loghost)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user