summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-05-01 07:45:09 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-05-01 07:45:09 +0000
commit232710209d3444e376e55172ed82d302af6b3fb9 (patch)
tree123ce2c463b160a8652c4326128716f62f15b77d
parent0cb074ad7df96e2ecf7b58cd5e2f2a12b07bd9ba (diff)
disable kerb,s/key in ssh2
-rw-r--r--usr.bin/ssh/auth2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 96839198897..4d4db8f60b2 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.3 2000/04/27 15:23:02 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.4 2000/05/01 07:45:08 markus Exp $");
#include <openssl/dsa.h>
#include <openssl/rsa.h>
@@ -92,6 +92,10 @@ static int userauth_success = 0;
void
do_authentication2()
{
+ /* turn off skey/kerberos, not supported by SSH2 */
+ options.skey_authentication = 0;
+ options.kerberos_authentication = 0;
+
dispatch_init(&protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
dispatch_run(DISPATCH_BLOCK, &userauth_success);