tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix hostname completion on MS Windows


From: Jim Porter
Subject: Re: [PATCH] Fix hostname completion on MS Windows
Date: Fri, 9 Apr 2021 17:48:30 -0700

On Fri, Apr 9, 2021 at 4:34 AM Michael Albinus <michael.albinus@gmx.de> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]