Re: Another question about this shell magic...

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

 



On 10/2/20 5:46 AM, Damien Miller wrote:
[snip]
> In this case, the helper is probably looking at the contents of your
> ~/.ssh/known_hosts or, with less likelihood, ~/.ssh/config's
> Host/Match configuration. I don't mind these, though they can be
> pretty brittle in the face of ssh_config aliases and HashKnownHosts
> settings, etc.
[snip]

In the case of zsh [1] and its tab completion for tools in the OpenSSH
suite, it seems to be looking at both known_hosts and ssh_config among
other things, but only the local versions not the global versions.  It
can take guesses at account names and not just host names.

/Lars

[1] http://zsh.sourceforge.net/

git clone git://git.code.sf.net/p/zsh/code

See:	./code/Completion/Unix/Command/_ssh
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux