git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.ssh/config.d/0000-all.conf
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-07-16 11:25:34 +0200
committermail_redacted_for_web 2022-07-16 11:25:34 +0200
commit8eadf0c5ed061ceee22e4b1a75eaa55eeb72e02a (patch)
treed129b5c102f604e27ab8890c095676dc88a9804b /.ssh/config.d/0000-all.conf
parent5121f6f61a2944b331a372dea105858147f7ddae (diff)
downloaddotfiles-8eadf0c5ed061ceee22e4b1a75eaa55eeb72e02a.tar.bz2
...in case of confname=hostname*conf...
Diffstat (limited to '.ssh/config.d/0000-all.conf')
-rw-r--r--.ssh/config.d/0000-all.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/.ssh/config.d/0000-all.conf b/.ssh/config.d/0000-all.conf
new file mode 100644
index 0000000..54a6137
--- /dev/null
+++ b/.ssh/config.d/0000-all.conf
@@ -0,0 +1,16 @@
+# vim:syntax=sshconfig:ts=4
+# in case of no ssh-agent:
+#IdentityFile ~/.ssh/id_ed25519
+#IdentityFile ~/.ssh/id_rsa
+# ...place that inside an extra .conf file.
+SendEnv LANG LC_* MUTTEXEC
+HashKnownHosts yes
+ForwardAgent yes
+ControlMaster auto
+ControlPath /run/user/%i/ssh/cm-%r@%h:%p
+
+# ControlMaster: to use SSH multiplexing with ProxyCommand (e.g. to reach host b through host a)
+# Host b
+# Hostname b.example.com
+# ProxyCommand ssh a.example.com -W %h:%p
+# # controlpath, controlmaster are the same as above