From: Simon Ruderich Date: Thu, 4 Nov 2010 18:09:43 +0000 (+0100) Subject: ssh_config: Add. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=8952b50cbed4219d1586bb5a4d7741f17b299d30;p=config%2Fdotfiles.git ssh_config: Add. --- diff --git a/ssh_config b/ssh_config new file mode 100644 index 0000000..d0a88d7 --- /dev/null +++ b/ssh_config @@ -0,0 +1,22 @@ +# SSH configuration file. + + +# Rules for all hosts. +Host * + +# Force protocol version 2 which is more secure. + Protocol 2 + +# Disable X11 and agent forwarding for security reasons. + ForwardX11 no + ForwardAgent no +# Don't trust remote X11 clients. If enabled allows bad admins complete access +# to local X11! + ForwardX11Trusted no + +# If -M is used store the control master socket in ~/.ssh. Necessary for +# ControlMaster to work. + ControlPath ~/.ssh/master-%l-%h-%p-%r + +# Don't send any environment variables. + SendEnv