| 350 |
// 768bit 未満の RSA 鍵を持つサーバへの接続を有効にする (2008.9.11 maya) |
// 768bit 未満の RSA 鍵を持つサーバへの接続を有効にする (2008.9.11 maya) |
| 351 |
settings->EnableRsaShortKeyServer = read_BOOL_option(fileName, "EnableRsaShortKeyServer", FALSE); |
settings->EnableRsaShortKeyServer = read_BOOL_option(fileName, "EnableRsaShortKeyServer", FALSE); |
| 352 |
|
|
| 353 |
|
// agent forward を有効にする (2008.11.25 maya) |
| 354 |
|
settings->ForwardAgent = read_BOOL_option(fileName, "ForwardAgent", FALSE); |
| 355 |
|
|
| 356 |
clear_local_settings(pvar); |
clear_local_settings(pvar); |
| 357 |
} |
} |
| 358 |
|
|
| 429 |
// 768bit 未満の RSA 鍵を持つサーバへの接続を有効にする (2008.9.11 maya) |
// 768bit 未満の RSA 鍵を持つサーバへの接続を有効にする (2008.9.11 maya) |
| 430 |
WritePrivateProfileString("TTSSH", "EnableRsaShortKeyServer", |
WritePrivateProfileString("TTSSH", "EnableRsaShortKeyServer", |
| 431 |
settings->EnableRsaShortKeyServer ? "1" : "0", fileName); |
settings->EnableRsaShortKeyServer ? "1" : "0", fileName); |
| 432 |
|
|
| 433 |
|
// agent forward を有効にする (2008.11.25 maya) |
| 434 |
|
WritePrivateProfileString("TTSSH", "ForwardAgent", |
| 435 |
|
settings->ForwardAgent ? "1" : "0", fileName); |
| 436 |
} |
} |
| 437 |
|
|
| 438 |
|
|
| 1477 |
_stricmp(option + 4, "-autologon") == 0) { |
_stricmp(option + 4, "-autologon") == 0) { |
| 1478 |
pvar->settings.TryDefaultAuth = TRUE; |
pvar->settings.TryDefaultAuth = TRUE; |
| 1479 |
|
|
| 1480 |
|
} else if (MATCH_STR(option + 4, "-A") == 0) { |
| 1481 |
|
pvar->settings.ForwardAgent = TRUE; |
| 1482 |
|
|
| 1483 |
} else if (_stricmp(option + 4, "-acceptall") == 0) { |
} else if (_stricmp(option + 4, "-acceptall") == 0) { |
| 1484 |
pvar->settings.LocalForwardingIdentityCheck = FALSE; |
pvar->settings.LocalForwardingIdentityCheck = FALSE; |
| 1485 |
|
|
| 2131 |
GetDlgItemText(dlg, IDC_HEARTBEATLABEL2, uimsg, sizeof(uimsg)); |
GetDlgItemText(dlg, IDC_HEARTBEATLABEL2, uimsg, sizeof(uimsg)); |
| 2132 |
UTIL_get_lang_msg("DLG_SSHSETUP_HEARTBEAT_UNIT", pvar, uimsg); |
UTIL_get_lang_msg("DLG_SSHSETUP_HEARTBEAT_UNIT", pvar, uimsg); |
| 2133 |
SetDlgItemText(dlg, IDC_HEARTBEATLABEL2, pvar->ts->UIMsg); |
SetDlgItemText(dlg, IDC_HEARTBEATLABEL2, pvar->ts->UIMsg); |
| 2134 |
|
GetDlgItemText(dlg, IDC_FORWARDAGENT, uimsg, sizeof(uimsg)); |
| 2135 |
|
UTIL_get_lang_msg("DLG_SSHSETUP_FORWARDAGENT", pvar, uimsg); |
| 2136 |
|
SetDlgItemText(dlg, IDC_FORWARDAGENT, pvar->ts->UIMsg); |
| 2137 |
GetDlgItemText(dlg, IDC_NOTICEBANNER, uimsg, sizeof(uimsg)); |
GetDlgItemText(dlg, IDC_NOTICEBANNER, uimsg, sizeof(uimsg)); |
| 2138 |
UTIL_get_lang_msg("DLG_SSHSETUP_NOTICE", pvar, uimsg); |
UTIL_get_lang_msg("DLG_SSHSETUP_NOTICE", pvar, uimsg); |
| 2139 |
SetDlgItemText(dlg, IDC_NOTICEBANNER, pvar->ts->UIMsg); |
SetDlgItemText(dlg, IDC_NOTICEBANNER, pvar->ts->UIMsg); |
| 2185 |
SetDlgItemText(dlg, IDC_HEARTBEAT_EDIT, buf); |
SetDlgItemText(dlg, IDC_HEARTBEAT_EDIT, buf); |
| 2186 |
} |
} |
| 2187 |
|
|
| 2188 |
|
if (pvar->settings.ForwardAgent) { |
| 2189 |
|
CheckDlgButton(dlg, IDC_FORWARDAGENT, TRUE); |
| 2190 |
|
} |
| 2191 |
} |
} |
| 2192 |
|
|
| 2193 |
void get_teraterm_dir_relative_name(char FAR * buf, int bufsize, |
void get_teraterm_dir_relative_name(char FAR * buf, int bufsize, |
| 2326 |
i = 60; |
i = 60; |
| 2327 |
pvar->settings.ssh_heartbeat_overtime = i; |
pvar->settings.ssh_heartbeat_overtime = i; |
| 2328 |
|
|
| 2329 |
|
pvar->settings.ForwardAgent = IsDlgButtonChecked(dlg, IDC_FORWARDAGENT); |
| 2330 |
} |
} |
| 2331 |
|
|
| 2332 |
static void move_cur_sel_delta(HWND listbox, int delta) |
static void move_cur_sel_delta(HWND listbox, int delta) |
| 2453 |
SendDlgItemMessage(dlg, IDC_HEARTBEATLABEL, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
SendDlgItemMessage(dlg, IDC_HEARTBEATLABEL, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2454 |
SendDlgItemMessage(dlg, IDC_HEARTBEAT_EDIT, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
SendDlgItemMessage(dlg, IDC_HEARTBEAT_EDIT, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2455 |
SendDlgItemMessage(dlg, IDC_HEARTBEATLABEL2, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
SendDlgItemMessage(dlg, IDC_HEARTBEATLABEL2, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2456 |
|
SendDlgItemMessage(dlg, IDC_FORWARDAGENT, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2457 |
SendDlgItemMessage(dlg, IDOK, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
SendDlgItemMessage(dlg, IDOK, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2458 |
SendDlgItemMessage(dlg, IDCANCEL, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
SendDlgItemMessage(dlg, IDCANCEL, WM_SETFONT, (WPARAM)DlgSetupFont, MAKELPARAM(TRUE,0)); |
| 2459 |
} |
} |