From e64c8f9669ae521b3c5a536692c1f4751dc92a41 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 10 Mar 2013 15:36:11 +0100 Subject: [PATCH] ssh_config: Disable unused authentication methods. --- ssh_config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ssh_config b/ssh_config index be03a42..379130f 100644 --- a/ssh_config +++ b/ssh_config @@ -39,6 +39,15 @@ Host * # to local X11! ForwardX11Trusted no +# Disable authentication methods I don't use. + ChallengeResponseAuthentication no + GSSAPIAuthentication no + HostbasedAuthentication no + KbdInteractiveAuthentication no +# Only enable those I need. + PasswordAuthentication yes + PubkeyAuthentication yes + # Abort if not all requested port forwardings can be set up. ExitOnForwardFailure yes -- 2.44.1