[emacs-berlin] Tramp mode with custom location for SSH config
jman
emacs-berlin at city17.xyz
Wed Mar 8 11:02:30 UTC 2023
Hello, I've instructed Tramp mode to look for SSH config in my custom
dir (documentation[0]):
(tramp-set-completion-function "ssh"
'((tramp-parse-sconfig "/etc/ssh_config")
(tramp-parse-sconfig "~/.config/ssh/config.d/config.whatevs")))
That SSH config is a symlink.
I get "could not resolve hostname ..." when trying to open
"/ssh:hostname:".
Worth mentioning that when I type "/ssh:" the prompt autocompletes the
hostnames defined in that ssh config - so it seems that it is correctly
loaded?
What am I missing? :)
thanks
[0]: https://www.gnu.org/software/tramp/#Customizing-Completion
More information about the emacs-berlin
mailing list