From: Michael Powe <michael+gnus@trollope.org>
Subject: Re: Tramp with public key ssh
Date: 23 Feb 2005 12:49:37 -0500 [thread overview]
Message-ID: <878y5fxj2m.fsf@ellen.trollope.org> (raw)
In-Reply-To: mailman.1277.1109177048.32256.help-gnu-emacs@gnu.org
>>>>> "JE" == J E Lewis <louie@louie.cc> writes:
JE> On Wed, Feb 23, 2005 at 08:38:34AM -0500, Michael Powe wrote:
>> >> I am set up for an ssh public-key login to an account. When
>> I >> try to edit a file there via emacs + tramp, tramp asks for
>> the
>> >> Enter passphrase for key '/home/powem/.ssh/id_dsa':
>> .......... >> tramp: Sending password Enter passphrase for key
>> >> '/home/powem/.ssh/id_dsa': Enter passphrase for key >>
>> '/home/powem/.ssh/id_dsa': . Enter passphrase for key >>
>> '/home/powem/.ssh/id_dsa': .. Enter passphrase for key >>
>> '/home/powem/.ssh/id_dsa': ........
>>
>> >> Any ideas on what might be happening here? I After the
>> initial >> password request, none of the other material shown
>> appears in >> the minibuffer. That is all just in the
>> *Messages* buffer.
JE> Well it looks to me like an ssh public key issue. When you
JE> ssh to a box with your ssh pub-key on it it asks for your
JE> passphrase and not your passwd. If you type anything that is
JE> not your passphrase (other than a blank return) then it will
JE> prompt again for the passphrase and continue doing so until
JE> the blank return or 3 times or more pass. Then it will prompt
JE> for your passwd.
JE> If you start ssh-agent first and properly login to the agent
JE> then you will by pass the passphrase question and it should
JE> just login to the machine for you.
Hmm, I admit I don't know how exactly the pub key authentication
works. It sounds like when I am being prompted for the passphrase,
I'm being prompted by the local ssh, which then "forwards" the
passphrase? In which case, tramp could be talking to the wrong
party. I'm trying to get away from password authentication altogether
and currently have pub-key on all my connections.
I've used ssh-agent in the past but it's been a long time. I will do
some more research.
Thanks.
mp
--
Michael Powe michael@trollope.org Naugatuck CT USA
It goes against the grain of modern education to teach children to
program. What fun is there in making plans, acquiring discipline in
organizing thoughts, devoting attention to detail and learning to be
self-critical? --Alan Perlis, Epigrams in Programming
prev parent reply other threads:[~2005-02-23 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-23 2:30 Tramp with public key ssh Michael Powe
[not found] ` <nq3bvnld76.fsf@alcatel.de>
2005-02-23 13:38 ` Michael Powe
2005-02-23 16:56 ` J. E. Lewis
[not found] ` <mailman.1277.1109177048.32256.help-gnu-emacs@gnu.org>
2005-02-23 17:49 ` Michael Powe [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878y5fxj2m.fsf@ellen.trollope.org \
--to=michael+gnus@trollope.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).