help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp ssh Authentication Problem.


From: zwz
Subject: Re: Tramp ssh Authentication Problem.
Date: Tue, 10 Jun 2014 18:06:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]