From 74599afa023f1d741f4f22b9cfd2eb176e645ff2 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Mon, 12 Dec 2016 17:13:55 +0100 Subject: [PATCH] ssh: add common config for all connections --- ssh/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ssh/config b/ssh/config index fbc876b..e2bcae0 100644 --- a/ssh/config +++ b/ssh/config @@ -1,3 +1,8 @@ +# Rules for all connections +Host * + AddKeysToAgent confirm + ForwardAgent no + Host 0?? 0??? HostName faui%h.informatik.uni-erlangen.de @@ -26,3 +31,10 @@ Host irc Host server HostName tpreisner.de User root + +# use if they havent been defined yet: +Host * + Compression yes +# IdentitiesOnly yes + TCPKeepAlive yes + UpdateHostKeys ask