On Fri, Apr 9, 2021 at 4:34 AM Michael Albinus <[email protected]> wrote: > > Hmm, strange. Tramp knows several places to grab host names for > > completion, for example ~/.ssh/config and ~/.ssh/known_hosts. Doesn't > > this work for you? > > Well, I've googled around, and it looks that the ssh server and client > directories on MS Windows are c:/ProgramData/ssh and > c:/Users/<user>/.ssh, see > https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_server_configuration > https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement > > Does the appended patch help for host name completion?
The patch works correctly for me. Even without saved connection info in ~/.emacs.d/tramp, host name completion works as expected (pulling from .ssh/known_hosts in my case). I never even realized this was a bug, since I was so used to getting host name completion from ~/.emacs.d/tramp! > Best regards, Michael. Thanks, Jim
