Try this : emacs -Q M-x ido-mode C-x C-f /tmp Everything's okey. Now, do the same but before, add a line with a `w' in your known hosts: echo w >> ~/.ssh/known_hosts It will result in the error « Login failed ». Disgracious. I propose the following patch, which makes ido allow such host names.