[Bash-completion-devel] Bug#647352: ssh completion does complete hosts after special characters

Paul Wise pabs at debian.org
Wed Nov 2 04:34:54 UTC 2011


Package: bash-completion
Version: 1:1.3-1
Severity: normal
File: /etc/bash_completion.d/ssh

I am unable to complete 'ssh alio' when my hosts file contains special
characters before the alioth alias. It works when I put the special
characters at the end though. The / and + are for jumping through
different kinds of ssh jumphosts[1].

pabs at chianamo:~$ grep alioth .ssh/hosts/*
.ssh/hosts/debian:wagner.debian.org,*/wagner.debian.org,*+wagner.debian.org,alioth.debian.org,alioth,217.196.43.132,217.196.43.134 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApH6uMkt/PlYAgMxw7tKTzQW9y7YLt06i81gHqtO/Xacbmtnu0DJNN6uvR3czzmHkB+kcO88Am64Fitn3O0YRg/Zqgxum0G8Uuc/g7iNfeF4tYxyWad0TbURa88xqu0CR9UwNJ0emz98iUvM1lsc+NukbMk3ONFy+XtsXDOoKttZyS/k8bNRnq3Iz9uWEHz1zFDhjarpnoj1ClpzfroWDuBRBVvwY78t0e8ZycGQx9sONi7YM/6e2PHldVyIDaJY3RD3T1+sa5yO0vESE86JuS9yZlmuokD9/csP/udTWLhF63DVyq6MxmZtqvoHMl4RtZq4U59TqPCjWg/3Q+3ZqzQ== root at wagner

     1. http://blog.ganneff.de/blog/2007/12/15/using-a-ssh-jumphost.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.1-3

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20111102/5f19cd47/attachment.pgp>


More information about the Bash-completion-devel mailing list