From 8eadf0c5ed061ceee22e4b1a75eaa55eeb72e02a Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 16 Jul 2022 11:25:34 +0200 Subject: ...in case of confname=hostname*conf... --- .ssh/config.d/0000-all.conf | 16 ++++++++++++++++ .ssh/config.d/all.conf | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 .ssh/config.d/0000-all.conf delete mode 100644 .ssh/config.d/all.conf 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 diff --git a/.ssh/config.d/all.conf b/.ssh/config.d/all.conf deleted file mode 100644 index 54a6137..0000000 --- a/.ssh/config.d/all.conf +++ /dev/null @@ -1,16 +0,0 @@ -# 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 -- cgit v1.2.3