In der .bash_profile ein complete -W „$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ‚ ‚ | sed -e s/,.*//g | uniq | grep -v „\[„`;)“ ssh und schwups hat man bei ssh hostnamecompletion. Praktisch! via macosxhints
Create on-the-fly hostname lists for ssh tab completion
24. März 2008 | Keine Kommentare