]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
fix tramp issue with same docker container names on different hosts
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 14 Jan 2026 13:38:03 +0000 (14:38 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 14 Jan 2026 13:43:43 +0000 (14:43 +0100)
* bba.org: same host names and behind different multi-hops gives tramp
headache

bba.org

diff --git a/bba.org b/bba.org
index d1902835372b54a5cb5d2b1e5eba1e3cb474190f..29a356535e0137853382c4fbcfc4860d3b180e8b 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1014,6 +1014,14 @@ TRAMP gcloud ssh
                                                    ("-o" "StrictHostKeyChecking=no")))
                       (tramp-default-port         22)))))
 #+end_src
+
+if you have multiple docker containers with the same name on different
+hosts tramp tramp-default-proxies-alist gets confused.
+
+#+begin_src emacs-lisp
+  (setq tramp-show-ad-hoc-proxies t)
+#+end_src
+
 * translate
 [2022-12-25 Sun 15:02]