1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00
putty-source/windows/putty-rc.h
Simon Tatham d1dc1e927c Mention the host name in host-key prompts.
Now that it's possible for a single invocation of PuTTY to connect to
multiple SSH servers (jump host followed by ultimate destination
host), it's rather unhelpful for host key prompts to just say "the
server". To check an unknown host key, users will need to know _which_
host it's purporting to be the key for.

Another possibility is to put a message in the terminal window
indicating which server we're currently in the SSH setup phase for.
That will certainly be what we have to end up doing for userpass
prompts that appear _in_ the terminal window. But that by itself is
still unhelpful for host key prompts in a separate dialog, because the
user would have to check both windows to get all the information they
need. Easier if the host key dialog itself tells you everything you
need to know to answer the question: is _this_ key the one you expect
for _that_ host?
2021-09-16 14:33:59 +01:00

51 lines
1.1 KiB
C

/*
* putty-rc.h - constants shared between putty-common.rc2 and the C code.
*/
#ifndef PUTTY_WIN_RES_H
#define PUTTY_WIN_RES_H
#define IDI_MAINICON 200
#define IDI_CFGICON 201
#define IDD_MAINBOX 102
#define IDD_LOGBOX 110
#define IDD_ABOUTBOX 111
#define IDD_RECONF 112
#define IDD_LICENCEBOX 113
#define IDD_HK_ABSENT 114
#define IDD_HK_WRONG 115
#define IDD_HK_MOREINFO 116
#define IDN_LIST 1001
#define IDN_COPY 1002
#define IDA_ICON 1001
#define IDA_TEXT 1002
#define IDA_LICENCE 1003
#define IDA_WEB 1004
#define IDC_TAB 1001
#define IDC_TABSTATIC1 1002
#define IDC_TABSTATIC2 1003
#define IDC_TABLIST 1004
#define IDC_HELPBTN 1005
#define IDC_ABOUT 1006
#define IDC_HK_ICON 98
#define IDC_HK_TITLE 99
#define IDC_HK_ACCEPT 1001
#define IDC_HK_ONCE 1000
#define IDC_HK_HOST 1002
#define IDC_HK_FINGERPRINT 1003
#define IDC_HK_MOREINFO 1004
#define IDC_HKI_SHA256 1000
#define IDC_HKI_MD5 1001
#define IDC_HKI_PUBKEY 1002
#define ID_CUSTOM_CHMFILE 2000
#define TYPE_CUSTOM_CHMFILE 2000
#endif