Mark A. Hershberger <[EMAIL PROTECTED]> writes:

> This version works better for me.  I get prompted when logging into an
> IRIX box running sshd 1.2.20 from an OpenBSD box using ssh v 1.2.26.
> This is good because that is what should have happened before.

Well, if you try to use scp with that config, you'll be in for a
surprise :-)  I'm not sure that it is doing the right thing now.

> Also, a strange thing:  I get prompted twice for the pw.  The first
> time, the prompt shows up in Emacs minibuff.  The second time, ssh
> evidently isn't attached to a tty and so it pops up a graphical
> prompt.

Hm?  Graphical prompt from ssh?  Never seen that!  Can you give more
detail on what happens?

> I did modify the regex, though:
> 
> + (format "\\(%s\\)\\|\\(.*[pP]ass[pw][oh]r[ad]s?e?.*: *$\\)"

Omigod.  I think I'll use this one:

"\\(%s\\)\\|\\(.*\\([pP]assword\\|[pP]assphrase.*\\): *$\\)"

It seems clearer.  Regexes are so hard to understand already that I
think we shouldn't make it more complicated that absolutely necessary.

Can you narrow down the one that asks for a passphrase somewhat?  Or
do you think it is sufficiently restricted?

kai
-- 
Life is hard and then you die.

Reply via email to