diff options.h @ 785:ff6e551da826

Don't enable CLI_IMMEDIATE_AUTH by default, it breaks blank password logins
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 Apr 2013 21:47:38 +0800
parents f62e82c474d5
children 7dcb46da72d9
line wrap: on
line diff
--- a/options.h	Wed Apr 17 23:17:27 2013 +0800
+++ b/options.h	Thu Apr 18 21:47:38 2013 +0800
@@ -204,6 +204,13 @@
  * return the password on standard output */
 /*#define ENABLE_CLI_ASKPASS_HELPER*/
 
+/* Send a real auth request first rather than requesting a list of available methods.
+ * It saves a network round trip at login but prevents immediate login to
+ * accounts with no password, and might be rejected by some strict servers (none
+ * encountered yet) - hence it isn't enabled by default. */
+/* #define CLI_IMMEDIATE_AUTH */
+
+
 /* Source for randomness. This must be able to provide hundreds of bytes per SSH
  * connection without blocking. In addition /dev/random is used for seeding
  * rsa/dss key generation */