]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - config.c
Implement `bypass-ssh2-userauth', since from correspondence it sounds like
[PuTTY.git] / config.c
index 71d3ac0571d260fedd42d2d4276311c822e01862..0a470803430d51f7f549f0298631dc41710bf59c 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1817,6 +1817,12 @@ void setup_config_box(struct controlbox *b, int midsession,
            ctrl_settitle(b, "Connection/SSH/Auth",
                          "Options controlling SSH authentication");
 
+           s = ctrl_getset(b, "Connection/SSH/Auth", "main", NULL);
+           ctrl_checkbox(s, "Bypass authentication entirely (SSH-2 only)", 'b',
+                         HELPCTX(ssh_auth_bypass),
+                         dlg_stdcheckbox_handler,
+                         I(offsetof(Config,ssh_no_userauth)));
+
            s = ctrl_getset(b, "Connection/SSH/Auth", "methods",
                            "Authentication methods");
            ctrl_checkbox(s, "Attempt TIS or CryptoCard auth (SSH-1)", 'm',