Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH-Config Include isn't supported #1407

Open
3 of 15 tasks
dploeger opened this issue Oct 16, 2018 · 4 comments
Open
3 of 15 tasks

SSH-Config Include isn't supported #1407

dploeger opened this issue Oct 16, 2018 · 4 comments

Comments

@dploeger
Copy link

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

If you use a "Include" directive in your ssh config (available since OpenSSH 7.3), which includes several files from a directory, the hosts defined in those files aren't included in the auto completion feature for SSH.

Include config.d/*
Host some-host
  HostName 1.2.3.4
@sixlive
Copy link

sixlive commented Jan 15, 2019

This would be really nice to have.

I've done more searching and I found an existing discussion around support for this in a PR #1115.

@rockandska
Copy link

I create as the side a project a completion wrapper who use fzf over all original completion scripts named fzf-obc
So if your original ssh completion works with include (and it works on base ubuntu 18.04), it should works too with fzf-obc (works on my computer).
Give it a try and post an issue on fzf-obc if needed

Regards

@soar
Copy link

soar commented Sep 18, 2021

Still doesn't work

@Shourai
Copy link

Shourai commented Jan 17, 2023

For anyone using zsh, I found this solution:
https://github.com/sunlei/zsh-ssh
It uses fzf underwater.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants