Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: autocompletion with remote hosts



On Monday 21 of December 2009 21:35:24 Daniel Friesel wrote:
> Theoretically, the completion for ssh/scp/etc. is also able to read
>  the hosts for completion directly from ~/.ssh/config or
>  ~/.ssh/known_hosts, however due to some fuckup (which so far noone
>  could explain to me) it never does this.
> 

Well, it works here; could you send your ~/.ssh/config that does not 
work?

As for known_hosts - no, it was never used as far as I know. May be it 
should.

Completion  of remote pathname requires passwordless authentication 
(i.e. public key in most cases) and of course host name must be known at 
this point.

Attachment: signature.asc
Description: This is a digitally signed message part.



Messages sorted by: Reverse Date, Date, Thread, Author