Every time I type "ssh use" in my bash terminal and press tab the command gets completed to "ssh username.dreamhosters.com" but that was not what I was looking for. How can I remove that entry from the list of possible completions?
1 Answer
Removing it from ~/.ssh/known_hosts
may work - but this will remove the trusted connection thing if it works at all.
-
Thanks, it worked. Although tab completion now doesn't find anything with that beginning. I thought it should now find the ssh command I use all the time.– MikaDec 6, 2013 at 22:28
-
I just guessed that it would search the known_hosts file for what to complete - glad it worked =)– WilfDec 6, 2013 at 22:29
ssh
) the contents of~/.ssh/config
- where you can store parameters for your ssh-connections.