From: Manoj Srivastava <srivasta@ieee.org>
To: emacs-devel@gnu.org
Subject: Re: Pcompletion for ssh and scp
Date: Wed, 05 Dec 2007 00:27:13 -0600 [thread overview]
Message-ID: <87fxyhlkqm.fsf@anzu.internal.golden-gryphon.com> (raw)
In-Reply-To: jwvd4tl51w8.fsf-monnier+emacs@gnu.org
On Tue, 04 Dec 2007 21:10:34 -0500, Stefan Monnier <monnier@iro.umontreal.ca> said:
>> hostnames. It also assumes that each hostname is followed by either a
>> space or a comma, which is the case on the systems I've checked but
>> may not be a universal rule.
> All my known_hosts files have "hostnames" that are encoded in the
> following way:
1> bXOTR5GrVkVH4ABavbfZ7f2G0EQ=|drXHp56kwVXBTdc/f92649SXiTw=
> I don't know how widespread this is, but I haven't made anything
> special to get them: I'm using the standard Debian package without any
> special configuation in this respect, so for your feature to be useful
> I think it needs to handle this case.
If you do not want your hosts to be hashed, you need to add the
following lines to your ~/.ssh/config:
--8<---------------cut here---------------start------------->8---
Host *
HashKnownHosts no
--8<---------------cut here---------------end--------------->8---
I have found that various completion utilities (zsh has one as
well) work better if I do not have hashing turned on.
Since this is a user configurable option, perhaps it is OK for
pcompletion to work for people who have actively turned host hqshing
off, even if it does not handle hashed hosts?
manoj
--
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs. Dennis Ritchie
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
next prev parent reply other threads:[~2007-12-05 6:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 22:32 Pcompletion for ssh and scp Phil Hagelberg
2007-12-05 2:10 ` Stefan Monnier
2007-12-05 6:27 ` Manoj Srivastava [this message]
2007-12-05 14:32 ` Stefan Monnier
2007-12-05 20:16 ` Phil Hagelberg
2007-12-06 0:07 ` Glenn Morris
2007-12-06 1:22 ` Phil Hagelberg
2007-12-06 2:22 ` Glenn Morris
2007-12-06 17:46 ` Phil Hagelberg
2008-02-08 5:17 ` Glenn Morris
2007-12-07 18:39 ` Edward O'Connor
2007-12-07 19:09 ` Phil Hagelberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fxyhlkqm.fsf@anzu.internal.golden-gryphon.com \
--to=srivasta@ieee.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.