Package: bash-completion<br>Version: 1:1.1-3ubuntu2<br>Severity: normal<br><br>This is hard to actually capture since apparently a carriage return is output and overwrites the rest of the line..<br>
<br>ssh -i bash: $index: substring expression &lt; 0<br><br>Basically, to reproduce, try this:<br><br>1. type &#39;ssh someuser@somehost&#39;<br>2. move cursor back between ssh and someuser<br>3. type &#39;-i &#39; and hit TAB<br>

4. Error happens.<br><br>NOTE: You must follow the instructions exactly. If you do &#39;ssh -i&#39; and then hit TAB, it works.<br><br>Tested on Lucid 10.04, Maverick 10.10 and Natty 11.04. All amd64 computers.<br><br>Downstream link: <a href="https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692562" target="_blank">https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692562</a><br>

<br><br>-- System Information:<br>Debian Release: squeeze/sid<br>  APT prefers lucid-updates<br>  APT policy: (500, &#39;lucid-updates&#39;), (500, &#39;lucid-security&#39;), (500, &#39;lucid&#39;)<br>Architecture: amd64 (x86_64)<br>

<br>Kernel: Linux 2.6.32-27-generic (SMP w/2 CPU cores)<br>Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages bash-completion depends on:<br>ii  bash                        4.1-2ubuntu3 The GNU Bourne Again SHell<br>

<br>bash-completion recommends no packages.<br><br>bash-completion suggests no packages.<br><br>-- no debconf information