[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix hostname completion on MS Windows
From: |
Michael Albinus |
Subject: |
Re: [PATCH] Fix hostname completion on MS Windows |
Date: |
Fri, 09 Apr 2021 13:34:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Jim,
>> [1] At least for sshx, my understanding is that this would only happen
>> if you had the connection info cached in ~/.emacs.d/tramp, so you
>> wouldn't see this with "emacs -Q" even with my patch to fix things. It
>> would matter in everyday usage though.
>
> 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?
Best regards, Michael.
txtAEb9vWHlyP.txt
Description: Text Data