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

Invalid list on example ssh config in WSL #28

Open
tony-sol opened this issue Apr 3, 2024 · 1 comment
Open

Invalid list on example ssh config in WSL #28

tony-sol opened this issue Apr 3, 2024 · 1 comment

Comments

@tony-sol
Copy link

tony-sol commented Apr 3, 2024

I tried to use this plugin in ubuntu inside WSL and got a strange issue - fzf's list is not working correctly:

~ ✔ $ cat ~/.ssh/config
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /home/tony/.ssh/config
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ Host Bastion-Host
   2   │     Hostname 1.1.1.1
   3   │     User sunlei
   4   │
   5   │ Host Development-Host
   6   │     Hostname 2.2.2.2
   7   │     IdentityFile ~/.ssh/development-host
   8   │     #_Desc For Development
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
~ ✔ $ ssh
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ SSH Remote >   < 2/2 (0)                                                         ╭───────────────────────────────────────────────────╮ │
│   ..                      User                                              Desc │ hostname contains invalid characters              │ │
│   ..80\xe2\x94\x80\xe2\x94\x80  \xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80 │                                                   │ │
│ > ..                         sunlei                                              │                                                   │ │
│   ..                                                           [For Development] │                                                   │ │
│                                                                                  │                                                   │ │
│                                                                                  │                                                   │ │
│                                                                                  │                                                   │ │
│                                                                                  │                                                   │ │
│                                                                                  │                                                   │ │
│                                                                                  ╰───────────────────────────────────────────────────╯ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

ssh is ubuntu default

~ ✔ $ ssh -V
OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022

fzf installed via homebrew

~ ✔ $ fzf --version
0.48.1 (brew)
@tony-sol
Copy link
Author

tony-sol commented Apr 3, 2024

how it looks like:
image

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

1 participant