[David E. Young]
> So, you're saying that ssh should _not_ be prompting for both
> passphrase and password, correct? I need to confirm this
> behavior with our network admins before Kai starts doing
> something to tramp that isn't necessary.
I would suppose that this has something to do with the setup of
your system. (but beware; I use AFAIK ssh1, and I don't know
anything about ssh2. Also, I have only very rudimentary
knowledge of ssh, so I might be saying Wrong Things here. Please
correct me if that's the case!)
For instance, I have set up my accounts so that they ask for a
passphrase (in addition to the password) the first time I log in
on one of them (this is accomlished by a call to the program
ssh-add in my starup file). If I log in on one of the others
from this, I don't need to type any pass(word|phrase)
information. The effect of this is in fact that I never need to
type any pass-information when I use the Tramp facilities (always
with the ssh-related methods), because I have done the
authentication once and for all at the first login. What I am
saying is that this might be set by default by your system
admins.
Thus, I think that you might be able to use the power of ssh in
the first place, and then avoid all kinds of password-typing when
using Tramp and ssh.
I guess that if I don't type the passphrase correctly the first
time, so the ssh-authentication fails, I will be prompted for a
password, and then tha passphrase. The same might happen if I
use any of Tramp's telnet-related methods.
Henrik.