laloch / xontrib-fzf-widgets

Set of fzf widgets for xonsh
GNU General Public License v3.0
33 stars 18 forks source link

features: read also hosts from ~/.ssh/known_hosts; auto-ssh if buffer is empty #17

Open scoiatael opened 3 years ago

scoiatael commented 3 years ago

Hey,

I have SSH configured to apply certain settings on whole domains (e.g. *.scoiatael.dev), so config doesn't list any hosts explicitly. known_hosts, on the other hand, has a complete list of all hosts I have ever SSH'd into - so it looks like a viable place for getting suggestions.

Unless you have hashing enabled, of course. But this should be a sane default for most people :)