diff --git a/svr-runopts.c b/svr-runopts.c
index a775ea3f423ed354578ecd24a9122ce3d91a55db..07da95c90f52554b7d01c2ba097e5e0341c45062 100644
--- a/svr-runopts.c
+++ b/svr-runopts.c
@@ -366,9 +366,10 @@ static void addportandaddress(char* spec) {
 
 static void disablekey(int type) {
 	int i;
+	TRACE(("Disabling key type %d", type))
 	for (i = 0; sshhostkey[i].name != NULL; i++) {
 		if (sshhostkey[i].val == type) {
-			sshhostkey[i].usable = 1;
+			sshhostkey[i].usable = 0;
 			break;
 		}
 	}