Accepts wildcard hosts in ssh config
Bug #1005889 reported by
Andy Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-sshsearch-lens |
Fix Committed
|
Medium
|
Bernd Schlapsi |
Bug Description
Although the code checks for a host that is simply "*" and skips it, it still accepts hosts like "*.mylan" which are valid entries in ~/.ssh/config but useless for this lens.
Changed in unity-sshsearch-lens: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Bernd Schlapsi (bernd-sch) |
Changed in unity-sshsearch-lens: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
self._config_hosts = [h['host'].lower() for h in c._config if not '*' in h['host']]
seems to work for me.