Hide Forgot
Description of problem: Bash completion handles HostName entries in .ssh/config that have "%h" in them incorrectly. It displays the string containing %h as a list of ssh targets, which is an error because hostnames of the form %h.domain.com never exist. Version-Release number of selected component (if applicable): bash-completion-2.1-2.fc19.noarch How reproducible: Always Steps to Reproduce: 1. Add an entry to ~/.ssh/config like the following: Host red green HostName %h.acmepaint.com 2. Type "ssh" and press tab to expand the list of known hosts Actual results: The string "%h.acmepaint.com" shows up in the list, ex: green %h.acmepaint.com red Expected results: It should either expand the %h entry as ssh does, or not show it at all. That is, either display green red or display green green.acmepaint.com red red.acmepaint.com Additional info: The %h shorthand feature was added in OpenSSH 5.6 to let users create more concise .ssh/config files. The shortcut above replaces these two "spelled out" entries: Host green HostName green.acmepaint.com Host red HostName red.acmepaint.com
Thanks for the report, fixed upstream: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=fcc9545b44f32b627f75e1589fb93a5c7ad86bff
bash-completion-2.1-6.20141110git52d8316.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/bash-completion-2.1-6.20141110git52d8316.fc21
Package bash-completion-2.1-6.20141110git52d8316.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bash-completion-2.1-6.20141110git52d8316.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14732/bash-completion-2.1-6.20141110git52d8316.fc21 then log in and leave karma (feedback).
bash-completion-2.1-6.20141110git52d8316.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.