From: zwz <zhangweize@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp ssh Authentication Problem.
Date: Tue, 10 Jun 2014 18:06:44 +0800 [thread overview]
Message-ID: <8761k9m62z.fsf@gmail.com> (raw)
In-Reply-To: 87oay15ce9.fsf@gmx.de
Thank you, Michael.
I use sudo on my local machine with C-x C-f /sudo::
Now I start Emacs by SUDO_ASKPASS=openssh-askpass Emacs -q.
There is no message in *tramp/sudo...* buffer, but it still does not
prompt for my password.
Michael Albinus <michael.albinus@gmx.de> writes:
> zwz <zhangweize@gmail.com> writes:
>
>> Nice. Can you give the link of your hints?
>
> It's in the FAQ section of the Tramp manual. Eval
>
> (info "(tramp) Frequently Asked Questions")
>
>> Also, I got the problem when I tried to use tramp:
>> sudo: no tty present and no askpass program specified
>
> Well, how to you use sudo? From your local machine, or do you hop onto
> another machine (via Tramp), and apply sudo there?
>
>> I have installed openssh-askpass.
>
> Usually, you could instruct sudo to use your askpass program by setting
> the environment variable $SUDO_ASKPASS. See the man page of sudo(8).
>
> Best regards, Michael.
next prev parent reply other threads:[~2014-06-10 10:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-08 8:09 Tramp ssh Authentication Problem Ian Barton
2014-06-08 11:45 ` Ian Barton
2014-06-08 15:15 ` Michael Albinus
2014-06-09 7:51 ` Ian Barton
2014-06-09 9:06 ` Michael Albinus
2014-06-10 2:22 ` zwz
2014-06-10 9:42 ` Michael Albinus
2014-06-10 10:06 ` zwz [this message]
2014-06-10 10:34 ` Michael Albinus
2014-06-11 5:04 ` zwz
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=8761k9m62z.fsf@gmail.com \
--to=zhangweize@gmail.com \
--cc=help-gnu-emacs@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.
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).