Skip to content

Invalid list on example ssh config in WSL #28

@tony-sol

Description

@tony-sol

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions