zsh-ssh
zsh-ssh copied to clipboard
Invalid list on example ssh config in WSL
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)
how it looks like: