Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: An improved "hosts" completion handling
- X-seq: zsh-users 10961
- From: John Eikenberry <jae@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: An improved "hosts" completion handling
- Date: Wed, 8 Nov 2006 13:44:21 -0500
- In-reply-to: <d6d6637f0611080923h73a99a70ga248dc6f11f55bf9@xxxxxxxxxxxxxx>
- Mail-followup-to: John Eikenberry <jae@xxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <d6d6637f0611080923h73a99a70ga248dc6f11f55bf9@xxxxxxxxxxxxxx>
Christopher Browne wrote:
> With the changes in openssh, of late, ~/.ssh/known_hosts is now
> littered with encoded host names that were getting pulled in such that
> I'd get tab completion looking like the following:
>
> cbbrowne@dba2:~/Slony-I/slony1-HEAD-pristine> ssh rg ssh
> rg570-da-logdbs
> Wednesday 17:20:40
> rg570-da-logdbs
> rg570-da-logdbs1
> rg570-da-logdbs1.nj.site\ ssh-rsa\
> AAAAB3NzaC1yc2EAAAABIwAAAIEAn7BPZtUqqjJzpVszaI71KUCVyvGicrOvUTFO4EiGzCHm7lYtJIbN0MblFo4CGwq3Z7cgzMwn/qdSxIXFnlIHIpPHojcZAnbSFXrJMIKB45VjK6XgFOB7ZQtpKg252F/nXV7vaTa/xgI6H+tza4w5UI5AZnrD/knq+l3qtSyuBDU=
> rg570-da-logdbs2
> rg570-da-logdbs2.nj.site\ ssh-rsa\
> AAAAB3NzaC1yc2EAAAABIwAAAIEAn7BPZtUqqjJzpVszaI71KUCVyvGicrOvUTFO4EiGzCHm7lYtJIbN0MblFo4CGwq3Z7cgzMwn/qdSxIXFnlIHIpPHojcZAnbSFXrJMIKB45VjK6XgFOB7ZQtpKg252F/nXV7vaTa/xgI6H+tza4w5UI5AZnrD/knq+l3qtSyuBDU=
>
> Bleah. That's awful.
Another solution is to turn this hashing of the ssh hosts off. Just add
"HashKnownHosts no" to your .ssh/config file.
--
John Eikenberry
[jae@xxxxxxxx - http://zhar.net]
______________________________________________________________
"It is difficult to produce a television documentary that is both incisive
and probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling
Messages sorted by:
Reverse Date,
Date,
Thread,
Author