Vincent Leduc wrote: > sh-3.2# ssh localhost bash -i 2>/dev/null > root@localhost's password: > [tab][tab][enter] > Display all 1797 possibilities? (y or n)[enter]
Although I can reproduce this in bash 4.2 it is not reproducible for me in bash 4.3. I assume that it was improved there. One problem in your example is that your bash does not have a tty attached to it. Add -t to ssh and you will then get a tty and you won't need to redirect 2>/dev/null anymore. ssh -t localhost bash Bob